diff data/osc/OSCQueue.cpp @ 408:115f60df1e4d

* Speed up spectrogram painting by releasing mutex in FFTDataServer while calculating data prior to writing it, and by adding whole-column value query methods to FFT objects * Add paint cache to Thumbwheel -- repaints of this widget were slowing down the whole spectrogram repaint * More uses of MutexLocker (named and with debug) and more profile points * Make startup much quicker some of the time, with OSC server in place
author Chris Cannam
date Thu, 08 May 2008 14:46:22 +0000
parents 32e50b620a6c
children d7f3dfe6f9a4
line wrap: on
line diff
--- a/data/osc/OSCQueue.cpp	Tue Apr 29 15:34:17 2008 +0000
+++ b/data/osc/OSCQueue.cpp	Thu May 08 14:46:22 2008 +0000
@@ -20,6 +20,8 @@
 
 #include "OSCQueue.h"
 
+#include "base/Profiler.h"
+
 #include <iostream>
 
 #define OSC_MESSAGE_QUEUE_SIZE 1023
@@ -91,6 +93,8 @@
 #endif
     m_buffer(OSC_MESSAGE_QUEUE_SIZE)
 {
+    Profiler profiler("OSCQueue::OSCQueue");
+
 #ifdef HAVE_LIBLO
     m_thread = lo_server_thread_new(NULL, oscError);