4 this is based on some public domain Pentium RDTSC timing code from usenet in 1996.
6 To enable this, your app must #define TIMING, include timing.h, call timingInit(), then timingEnter(x)/timingLeave(x) a bunch
7 of times (where x is 0-64), then timingPrint at the end.
9 on timingPrint(), C:\\timings.txt will be overwritten.
21 #if defined(TIMING) && !defined(__alpha)
25 void _timingInit(void);
26 void _timingPrint(void);
27 void _timingEnter(int);
28 void _timingLeave(int);
32 #define timingPrint() _timingPrint()
33 #define timingInit() _timingInit()
34 #define timingLeave(x) _timingLeave(x)
35 #define timingEnter(x) _timingEnter(x)
39 #define timingLeave(x)
40 #define timingEnter(x)