diff options
author | Josh Blum | 2011-06-07 22:55:41 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-06-07 22:55:41 -0400 |
commit | bbf11bb338a4a88a1f270f77649212fea0b0cab0 (patch) | |
tree | 29a2465d3f2441d067971fa07fc22b39242f2b1d /gr-qtgui/lib/SpectrumGUIClass.cc | |
parent | eae515a2356a140e4407945eed21e56b90bb98d9 (diff) | |
download | gnuradio-bbf11bb338a4a88a1f270f77649212fea0b0cab0.tar.gz gnuradio-bbf11bb338a4a88a1f270f77649212fea0b0cab0.tar.bz2 gnuradio-bbf11bb338a4a88a1f270f77649212fea0b0cab0.zip |
qtgui: removed all traces of highResTimeFunctions.h
Diffstat (limited to 'gr-qtgui/lib/SpectrumGUIClass.cc')
-rw-r--r-- | gr-qtgui/lib/SpectrumGUIClass.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gr-qtgui/lib/SpectrumGUIClass.cc b/gr-qtgui/lib/SpectrumGUIClass.cc index 002e944ea..af95e2bb2 100644 --- a/gr-qtgui/lib/SpectrumGUIClass.cc +++ b/gr-qtgui/lib/SpectrumGUIClass.cc @@ -126,7 +126,7 @@ SpectrumGUIClass::OpenSpectrumWindow(QWidget* parent, _lastGUIUpdateTime = 0; // Draw Blank Display - UpdateWindow(false, NULL, 0, NULL, 0, NULL, 0, get_highres_clock(), true); + UpdateWindow(false, NULL, 0, NULL, 0, NULL, 0, gruel::high_res_timer_now(), true); // Set up the initial frequency axis settings SetFrequencyRange(_centerFrequency, _startFrequency, _stopFrequency); @@ -229,7 +229,7 @@ SpectrumGUIClass::UpdateWindow(const bool updateDisplayFlag, const uint64_t realTimeDomainDataSize, const float* complexTimeDomainData, const uint64_t complexTimeDomainDataSize, - const highres_timespec timestamp, + const gruel::high_res_timer_type timestamp, const bool lastOfMultipleFFTUpdateFlag) { //gruel::scoped_lock lock(d_mutex); @@ -283,8 +283,8 @@ SpectrumGUIClass::UpdateWindow(const bool updateDisplayFlag, _lastDataPointCount = bufferSize; } - const highres_timespec currentTime = get_highres_clock(); - const highres_timespec lastUpdateGUITime = GetLastGUIUpdateTime(); + const gruel::high_res_timer_type currentTime = gruel::high_res_timer_now(); + const gruel::high_res_timer_type lastUpdateGUITime = GetLastGUIUpdateTime(); if((currentTime - lastUpdateGUITime > (4*_updateTime)*gruel::high_res_timer_tps()) && (GetPendingGUIUpdateEvents() > 0) && lastUpdateGUITime != 0) { @@ -376,17 +376,17 @@ SpectrumGUIClass::SetFFTSize(const int newSize) _fftSize = newSize; } -highres_timespec +gruel::high_res_timer_type SpectrumGUIClass::GetLastGUIUpdateTime() { gruel::scoped_lock lock(d_mutex); - highres_timespec returnValue; + gruel::high_res_timer_type returnValue; returnValue = _lastGUIUpdateTime; return returnValue; } void -SpectrumGUIClass::SetLastGUIUpdateTime(const highres_timespec newTime) +SpectrumGUIClass::SetLastGUIUpdateTime(const gruel::high_res_timer_type newTime) { gruel::scoped_lock lock(d_mutex); _lastGUIUpdateTime = newTime; |