diff options
author | Josh Blum | 2011-06-07 21:48:02 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-06-07 21:48:02 -0400 |
commit | 697562c3d4319ab6f13e4c2910a853409731595d (patch) | |
tree | 9ab54b8e3a3e17bed020783f1a5ef6f9c7377b0a /gr-qtgui/lib/qtgui_time_sink_f.cc | |
parent | 275d14afc2b2f4088db204213cf14ab75499cc4e (diff) | |
download | gnuradio-697562c3d4319ab6f13e4c2910a853409731595d.tar.gz gnuradio-697562c3d4319ab6f13e4c2910a853409731595d.tar.bz2 gnuradio-697562c3d4319ab6f13e4c2910a853409731595d.zip |
qtgui: replace timespec with typedef so its easier to replace
Diffstat (limited to 'gr-qtgui/lib/qtgui_time_sink_f.cc')
-rw-r--r-- | gr-qtgui/lib/qtgui_time_sink_f.cc | 4 |
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)); |