diff plugin/RealTimePluginFactory.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 15b47d30c085
children d7f3dfe6f9a4
line wrap: on
line diff
--- a/plugin/RealTimePluginFactory.cpp	Tue Apr 29 15:34:17 2008 +0000
+++ b/plugin/RealTimePluginFactory.cpp	Thu May 08 14:46:22 2008 +0000
@@ -26,6 +26,7 @@
 #include "DSSIPluginFactory.h"
 
 #include "system/System.h"
+#include "base/Profiler.h"
 
 #include <iostream>
 
@@ -73,6 +74,8 @@
 std::vector<QString>
 RealTimePluginFactory::getAllPluginIdentifiers()
 {
+    Profiler profiler("RealTimePluginFactory::getAllPluginIdentifiers");
+
     RealTimePluginFactory *factory;
     std::vector<QString> rv;
     
@@ -108,6 +111,8 @@
 void
 RealTimePluginFactory::enumerateAllPlugins(std::vector<QString> &list)
 {
+    Profiler profiler("RealTimePluginFactory::enumerateAllPlugins");
+
     RealTimePluginFactory *factory;
 
     // Query DSSI plugins before LADSPA ones.