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

Method get_ch_order

DSView/pv/data/dsosnapshot.cpp:551–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551int DsoSnapshot::get_ch_order(int sig_index)
552{
553 uint16_t order = 0;
554
555 for (uint16_t i : _ch_index) {
556 if (i == sig_index)
557 return order;
558 else
559 order++;
560 }
561
562 return -1;
563}
564
565} // namespace data
566} // namespace pv

Callers 2

get_pointMethod · 0.45
paint_midMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected