summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/qtgui_time_sink_f.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/qtgui_time_sink_f.cc')
-rw-r--r--gr-qtgui/lib/qtgui_time_sink_f.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/qtgui_time_sink_f.cc b/gr-qtgui/lib/qtgui_time_sink_f.cc
index 28789c163..e04109e96 100644
--- a/gr-qtgui/lib/qtgui_time_sink_f.cc
+++ b/gr-qtgui/lib/qtgui_time_sink_f.cc
@@ -94,7 +94,7 @@ qtgui_time_sink_f::initialize()
// initialize update time to 10 times a second
set_update_time(0.1);
- timespec_reset(&d_last_time);
+ highres_timespec_reset(&d_last_time);
}
@@ -170,7 +170,7 @@ qtgui_time_sink_f::general_work (int noutput_items,
}
// Update the plot if its time
- if(diff_timespec(d_current_time, d_last_time) > d_update_time) {
+ if(diff_highres_timespec(d_current_time, d_last_time) > d_update_time) {
d_last_time = d_current_time;
d_qApplication->postEvent(d_main_gui,
new TimeUpdateEvent(d_residbufs, d_size));