#if defined(DO_TIMING)
-#define TIMING_BEGIN double _timing_end_, _timing_start_ = Sys_DoubleTime();
+#define TIMING_BEGIN double _timing_end_, _timing_start_ = Sys_DirtyTime();
#define TIMING_END_STR(S) \
- _timing_end_ = Sys_DoubleTime(); \
+ _timing_end_ = Sys_DirtyTime(); \
Con_Printf ("%s: %.3g s\n", S, _timing_end_ - _timing_start_);
#define TIMING_END TIMING_END_STR(__FUNCTION__)
#define TIMING_INTERMEDIATE(S) \
{ \
- double currentTime = Sys_DoubleTime(); \
+ double currentTime = Sys_DirtyTime(); \
Con_Printf ("%s: %.3g s\n", S, currentTime - _timing_start_); \
}
#endif
-#endif // __TIMING_H__
\ No newline at end of file
+#endif // __TIMING_H__
+