Mercurial > hg > svcore
diff plugin/FeatureExtractionPluginFactory.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 | 9203b82a8c53 |
children | 9e1e12d1fbc3 |
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.cpp Tue Apr 29 15:34:17 2008 +0000 +++ b/plugin/FeatureExtractionPluginFactory.cpp Thu May 08 14:46:22 2008 +0000 @@ -29,6 +29,8 @@ #include <iostream> +#include "base/Profiler.h" + //#define DEBUG_PLUGIN_SCAN_AND_INSTANTIATE 1 class PluginDeletionNotifyAdapter : public Vamp::HostExt::PluginWrapper { @@ -108,6 +110,8 @@ std::vector<QString> FeatureExtractionPluginFactory::getPluginIdentifiers() { + Profiler profiler("FeatureExtractionPluginFactory::getPluginIdentifiers"); + std::vector<QString> rv; std::vector<QString> path = getPluginPath(); @@ -296,6 +300,8 @@ FeatureExtractionPluginFactory::instantiatePlugin(QString identifier, float inputSampleRate) { + Profiler profiler("FeatureExtractionPluginFactory::instantiatePlugin"); + Vamp::Plugin *rv = 0; Vamp::PluginHostAdapter *plugin = 0;