diff options
author | trondeau | 2009-08-10 02:07:55 +0000 |
---|---|---|
committer | trondeau | 2009-08-10 02:07:55 +0000 |
commit | b1fff92b08ccb2d0aecdea56450c79a63ab3178b (patch) | |
tree | 6b96cdf505135d16714849da0f2f5691dd8d4828 /gr-qtgui/src/lib/qtgui_sink_c.h | |
parent | 34791dbc3c8ab646b63d8ae6e96972b20fe6fd37 (diff) | |
download | gnuradio-b1fff92b08ccb2d0aecdea56450c79a63ab3178b.tar.gz gnuradio-b1fff92b08ccb2d0aecdea56450c79a63ab3178b.tar.bz2 gnuradio-b1fff92b08ccb2d0aecdea56450c79a63ab3178b.zip |
Significantly improved performance of the Qt Gui sinks. This removes a number of redundant loops and memcopies by combining operations and reduces the CPU load greatly to run much more smoothly.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11559 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/qtgui_sink_c.h')
-rw-r--r-- | gr-qtgui/src/lib/qtgui_sink_c.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-qtgui/src/lib/qtgui_sink_c.h b/gr-qtgui/src/lib/qtgui_sink_c.h index 1c9d59200..e36c8c9b0 100644 --- a/gr-qtgui/src/lib/qtgui_sink_c.h +++ b/gr-qtgui/src/lib/qtgui_sink_c.h @@ -63,6 +63,8 @@ private: bool use_openGL, QWidget *parent); + void forecast(int noutput_items, gr_vector_int &ninput_items_required); + // use opengl to force OpenGL on or off // this might be necessary for sessions over SSH void initialize(const bool opengl=true); @@ -78,7 +80,6 @@ private: bool d_shift; gri_fft_complex *d_fft; - gr_complex *d_fftdata; int d_index; gr_complex *d_residbuf; @@ -91,7 +92,7 @@ private: void windowreset(); void buildwindow(); void fftresize(); - void fft(const gr_complex *data_in, int size, gr_complex *data_out); + void fft(const gr_complex *data_in, int size); public: ~qtgui_sink_c(); |