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

Method get_index_delta

DSView/pv/view/view.cpp:1154–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152}
1153
1154QString View::get_index_delta(uint64_t start, uint64_t end)
1155{
1156 if (start == end)
1157 return "0";
1158
1159 uint64_t delta_sample = (start > end) ? start - end : end - start;
1160 return _ruler->format_real_time(delta_sample, _session->cur_snap_samplerate());
1161}
1162
1163uint64_t View::get_cursor_samples(int index)
1164{

Callers 1

paintMeasureMethod · 0.80

Calls 2

format_real_timeMethod · 0.80
cur_snap_samplerateMethod · 0.80

Tested by

no test coverage detected