diff main/MainWindow.cpp @ 253:6a6b5a1a6c67

* 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 f9b086788565
children 6e8ebc86119a
line wrap: on
line diff
--- a/main/MainWindow.cpp	Thu May 01 13:37:39 2008 +0000
+++ b/main/MainWindow.cpp	Thu May 08 14:46:22 2008 +0000
@@ -139,6 +139,8 @@
     m_layerTreeDialog(0),
     m_keyReference(new KeyReference())
 {
+    Profiler profiler("MainWindow::MainWindow");
+
     setWindowTitle(tr("Sonic Visualiser"));
 
     UnitDatabase *udb = UnitDatabase::getInstance();