diff 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
line wrap: on
line diff
--- a/base/Profiler.cpp	Wed Jul 05 16:15:22 2006 +0000
+++ b/base/Profiler.cpp	Fri Jul 07 16:02:22 2006 +0000
@@ -26,9 +26,13 @@
 
 //#define NO_TIMING 1
 
+#define WANT_TIMING 1
+
 #ifdef NDEBUG
+#ifndef WANT_TIMING
 #define NO_TIMING 1
 #endif
+#endif
 
 using std::cerr;
 using std::endl;