changeset 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 53dfcd7db419
children e4acb520ad2a
files base/Profiler.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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;