Mercurial > hg > svcore
diff base/Thread.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 | 85bf384db35f |
children | e802e550a1f2 |
line wrap: on
line diff
--- a/base/Thread.cpp Tue Apr 29 15:34:17 2008 +0000 +++ b/base/Thread.cpp Thu May 08 14:46:22 2008 +0000 @@ -58,12 +58,14 @@ } MutexLocker::MutexLocker(QMutex *mutex, const char *name) : + m_profiler(name, false), m_printer(name), m_locker(mutex) { #ifdef DEBUG_MUTEX_LOCKER std::cerr << "... locked mutex " << mutex << std::endl; #endif + m_profiler.end(); } MutexLocker::~MutexLocker()