diff options
Diffstat (limited to 'kmail/kmdebug.h')
-rw-r--r-- | kmail/kmdebug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmdebug.h b/kmail/kmdebug.h index e36621cff..46262aeb4 100644 --- a/kmail/kmdebug.h +++ b/kmail/kmdebug.h @@ -32,10 +32,10 @@ static inline kdbgstream kmFatal( bool cond ) { return kdFatal( cond, kmail_debu // timing utilities #if !defined( NDEBUG ) && defined( DEBUG_TIMING ) -#include <qdatetime.h> -#define CREATE_TIMER(x) int x=0, x ## _tmp=0; QTime x ## _tmp2 -#define START_TIMER(x) x ## _tmp2 = QTime::currentTime() -#define GRAB_TIMER(x) x ## _tmp2.msecsTo(QTime::currentTime()) +#include <tqdatetime.h> +#define CREATE_TIMER(x) int x=0, x ## _tmp=0; TQTime x ## _tmp2 +#define START_TIMER(x) x ## _tmp2 = TQTime::currentTime() +#define GRAB_TIMER(x) x ## _tmp2.msecsTo(TQTime::currentTime()) #define END_TIMER(x) x += GRAB_TIMER(x); x ## _tmp++ #define SHOW_TIMER(x) kdDebug(5006) << #x " == " << x << "(" << x ## _tmp << ")\n" #else |