Mercurial > hg > svcore
diff base/Profiler.cpp @ 259:dc46851837d6
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | 91fdc752e540 |
children | 115f60df1e4d |
line wrap: on
line diff
--- a/base/Profiler.cpp Mon Apr 30 09:07:42 2007 +0000 +++ b/base/Profiler.cpp Mon Apr 30 13:36:23 2007 +0000 @@ -48,7 +48,13 @@ dump(); } -void Profiles::accumulate(const char* id, clock_t time, RealTime rt) +void Profiles::accumulate( +#ifndef NO_TIMING + const char* id, clock_t time, RealTime rt +#else + const char*, clock_t, RealTime +#endif +) { #ifndef NO_TIMING ProfilePair &pair(m_profiles[id]);