summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/qtgui_time_sink_c.cc
diff options
context:
space:
mode:
authorJosh Blum2011-06-07 22:55:41 -0400
committerTom Rondeau2011-06-07 22:55:41 -0400
commitbbf11bb338a4a88a1f270f77649212fea0b0cab0 (patch)
tree29a2465d3f2441d067971fa07fc22b39242f2b1d /gr-qtgui/lib/qtgui_time_sink_c.cc
parenteae515a2356a140e4407945eed21e56b90bb98d9 (diff)
downloadgnuradio-bbf11bb338a4a88a1f270f77649212fea0b0cab0.tar.gz
gnuradio-bbf11bb338a4a88a1f270f77649212fea0b0cab0.tar.bz2
gnuradio-bbf11bb338a4a88a1f270f77649212fea0b0cab0.zip
qtgui: removed all traces of highResTimeFunctions.h
Diffstat (limited to 'gr-qtgui/lib/qtgui_time_sink_c.cc')
-rw-r--r--gr-qtgui/lib/qtgui_time_sink_c.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gr-qtgui/lib/qtgui_time_sink_c.cc b/gr-qtgui/lib/qtgui_time_sink_c.cc
index 3d5786da1..3d38419b2 100644
--- a/gr-qtgui/lib/qtgui_time_sink_c.cc
+++ b/gr-qtgui/lib/qtgui_time_sink_c.cc
@@ -159,7 +159,7 @@ qtgui_time_sink_c::general_work (int noutput_items,
// If we have enough input for one full plot, do it
if(datasize >= resid) {
- d_current_time = get_highres_clock();
+ d_current_time = gruel::high_res_timer_now();
// Fill up residbufs with d_size number of items
for(n = 0; n < d_nconnections; n+=2) {
@@ -171,8 +171,7 @@ qtgui_time_sink_c::general_work (int noutput_items,
}
// Update the plot if its time
- //if(diff_highres_timespec(d_current_time, d_last_time) > d_update_time) {
- if(get_highres_clock() - d_last_time > d_update_time) {
+ if(gruel::high_res_timer_now() - d_last_time > d_update_time) {
d_last_time = d_current_time;
d_qApplication->postEvent(d_main_gui,
new TimeUpdateEvent(d_residbufs, d_size));