MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / get_block_num

Method get_block_num

DSView/pv/data/dsosnapshot.cpp:497–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497int DsoSnapshot::get_block_num()
498{
499 const uint64_t size = _sample_count * get_unit_bytes() * get_channel_num();
500 return (size >> LeafBlockPower) +
501 ((size & LeafMask) != 0);
502}
503
504uint64_t DsoSnapshot::get_block_size(int block_index)
505{

Callers 4

save_logicMethod · 0.45
save_analogMethod · 0.45
meta_genMethod · 0.45
export_execMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected