mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
Profiling of spectrogram is opt-in for normal builds.
This commit is contained in:
parent
b2d1470062
commit
1e0fcbf872
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user