diff data/fft/FFTDataServer.cpp @ 532:59dd6d1bcfb0

* Make Colour3DPlotLayer::paintDense much faster (but still not fast enough)
author Chris Cannam
date Thu, 22 Jan 2009 17:39:04 +0000
parents 6066bde1c126
children beb51f558e9c
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp	Tue Jan 20 18:11:10 2009 +0000
+++ b/data/fft/FFTDataServer.cpp	Thu Jan 22 17:39:04 2009 +0000
@@ -27,8 +27,8 @@
 #include "base/Profiler.h"
 #include "base/Thread.h" // for debug mutex locker
 
-//#define DEBUG_FFT_SERVER 1
-//#define DEBUG_FFT_SERVER_FILL 1
+#define DEBUG_FFT_SERVER 1
+#define DEBUG_FFT_SERVER_FILL 1
 
 #ifdef DEBUG_FFT_SERVER_FILL
 #ifndef DEBUG_FFT_SERVER
@@ -751,7 +751,9 @@
 
     if (int(c) != m_lastUsedCache) {
 
-//        std::cerr << "switch from " << m_lastUsedCache << " to " << c << std::endl;
+#ifdef DEBUG_FFT_SERVER
+        std::cerr << "switch from " << m_lastUsedCache << " to " << c << std::endl;
+#endif
 
         for (IntQueue::iterator i = m_dormantCaches.begin();
              i != m_dormantCaches.end(); ++i) {