MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_max_sample_count

Method get_max_sample_count

DSView/pv/data/decoderstack.cpp:491–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

489}
490
491uint64_t DecoderStack::get_max_sample_count()
492{
493 uint64_t max_sample_count = 0;
494
495 for (auto i = _rows.begin(); i != _rows.end(); i++){
496 max_sample_count = max(max_sample_count, (*i).second->get_max_sample());
497 }
498
499 return max_sample_count;
500}
501
502void DecoderStack::decode_data(const uint64_t decode_start, const uint64_t decode_end, srd_session *const session)
503{

Callers

nothing calls this directly

Calls 2

get_max_sampleMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected