comparison base/RealTime.h @ 183:146eb9e35baa

* Improve output from Profiler class and make it incur less (no) overhead in release builds with NO_TIMING defined * Fix a lock contention issue in spectrogram * Marginal optimisations elsewhere
author Chris Cannam
date Tue, 10 Oct 2006 14:51:17 +0000
parents 3c1d5ef43baa
children 21b9b25bff48
comparison
equal deleted inserted replaced
182:f75f8a1cd7b1 183:146eb9e35baa
90 bool operator<=(const RealTime &r) const { 90 bool operator<=(const RealTime &r) const {
91 if (sec == r.sec) return nsec <= r.nsec; 91 if (sec == r.sec) return nsec <= r.nsec;
92 else return sec <= r.sec; 92 else return sec <= r.sec;
93 } 93 }
94 94
95 RealTime operator*(int m) const;
95 RealTime operator/(int d) const; 96 RealTime operator/(int d) const;
96 97
97 // Find the fractional difference between times 98 // Find the fractional difference between times
98 // 99 //
99 double operator/(const RealTime &r) const; 100 double operator/(const RealTime &r) const;