diff options
author | Josh Blum | 2011-06-07 22:39:07 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-06-07 22:39:07 -0400 |
commit | eae515a2356a140e4407945eed21e56b90bb98d9 (patch) | |
tree | 98755d38a2fa4b7bed41a38e446b6618252f8cb2 /gr-qtgui/lib/FrequencyDisplayPlot.cc | |
parent | 1418dccc89f554202e33d4d743c910407e8710a6 (diff) | |
download | gnuradio-eae515a2356a140e4407945eed21e56b90bb98d9.tar.gz gnuradio-eae515a2356a140e4407945eed21e56b90bb98d9.tar.bz2 gnuradio-eae515a2356a140e4407945eed21e56b90bb98d9.zip |
qtgui: removed most of the functions in highResTimeFunctions.h
Diffstat (limited to 'gr-qtgui/lib/FrequencyDisplayPlot.cc')
-rw-r--r-- | gr-qtgui/lib/FrequencyDisplayPlot.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/FrequencyDisplayPlot.cc b/gr-qtgui/lib/FrequencyDisplayPlot.cc index 6b3fa175b..5db32c6f1 100644 --- a/gr-qtgui/lib/FrequencyDisplayPlot.cc +++ b/gr-qtgui/lib/FrequencyDisplayPlot.cc @@ -120,7 +120,7 @@ FrequencyDisplayPlot::FrequencyDisplayPlot(QWidget* parent) _startFrequency = 0; _stopFrequency = 4000; - highres_timespec_reset(_lastReplot); + _lastReplot = 0; resize(parent->width(), parent->height()); @@ -362,7 +362,7 @@ FrequencyDisplayPlot::PlotNewData(const double* dataPoints, const int64_t numDat { // Only update plot if there is data and if the time interval has elapsed if((numDataPoints > 0) && - (diff_highres_timespec(get_highres_clock(), _lastReplot) > timeInterval)) { + (get_highres_clock() - _lastReplot > timeInterval*gruel::high_res_timer_tps())) { if(numDataPoints != _numPoints) { _numPoints = numDataPoints; |