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

Method set_trig_pos

DSView/pv/view/view.cpp:548–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548void View::set_trig_pos(int percent)
549{
550 uint64_t index = _session->cur_samplelimits() * percent / 100;
551
552 if (_session->have_view_data() == false
553 || _session->is_working()){
554 set_trig_cursor_posistion(index);
555 }
556}
557
558void View::set_search_pos(uint64_t search_pos, bool hit)
559{

Callers

nothing calls this directly

Calls 3

cur_samplelimitsMethod · 0.80
have_view_dataMethod · 0.80
is_workingMethod · 0.80

Tested by

no test coverage detected