1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-26 00:58:37 +02:00

Profiling of spectrogram is opt-in for normal builds.

This commit is contained in:
James Crook 2016-08-26 12:32:54 +01:00
parent b2d1470062
commit 1e0fcbf872

View File

@ -46,6 +46,12 @@
//#undef _OPENMP //#undef _OPENMP
#ifdef _OPENMP #ifdef _OPENMP
#include <omp.h> #include <omp.h>
#else
// Comment this out if you want to profile non OpenMP builds too.
#undef BEGIN_TASK_PROFILING
#undef END_TASK_PROFILING
#define BEGIN_TASK_PROFILING(TASK_DESCRIPTION)
#define END_TASK_PROFILING(TASK_DESCRIPTION)
#endif #endif
class WaveCache { class WaveCache {