comparison base/Profiler.cpp @ 135:fb8422cf4326

* MatrixFile::reset doesn't need to zero the file if it's in a mode in which it won't read anything from the file until it's written it itself anyway
author Chris Cannam
date Fri, 07 Jul 2006 16:02:22 +0000
parents d397ea0a79f5
children 146eb9e35baa
comparison
equal deleted inserted replaced
134:53dfcd7db419 135:fb8422cf4326
24 #include <vector> 24 #include <vector>
25 #include <algorithm> 25 #include <algorithm>
26 26
27 //#define NO_TIMING 1 27 //#define NO_TIMING 1
28 28
29 #define WANT_TIMING 1
30
29 #ifdef NDEBUG 31 #ifdef NDEBUG
32 #ifndef WANT_TIMING
30 #define NO_TIMING 1 33 #define NO_TIMING 1
34 #endif
31 #endif 35 #endif
32 36
33 using std::cerr; 37 using std::cerr;
34 using std::endl; 38 using std::endl;
35 39