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

Method get_cm_time

DSView/pv/view/view.cpp:1136–1141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134}
1135
1136QString View::get_cm_time(int index)
1137{
1138 uint64_t sampleIndex = get_cursor_samples(index);
1139 uint64_t sampleRate = _session->cur_snap_samplerate();
1140 return _ruler->format_real_time(sampleIndex, sampleRate);
1141}
1142
1143QString View::get_cm_delta(int index1, int index2)
1144{

Callers 2

update_cursor_infoMethod · 0.80
build_cursor_pannelMethod · 0.80

Calls 2

cur_snap_samplerateMethod · 0.80
format_real_timeMethod · 0.80

Tested by

no test coverage detected