14 #define GAUDIKERNEL_TIMING_CPP
16 #include "GaudiKernel/Timing.h"
25 #include <sys/times.h>
30 static const longlong UNIX_BASE_TIME = 116444736000000000;
32 static const longlong UNIX_BASE_TIME = 0;
69 count *= ::GetTickCount();
72 count *= 10*times(&buf);
83 ::GetSystemTimeAsFileTime((FILETIME*)¤t);
84 current -= UNIX_BASE_TIME;
88 ::gettimeofday(&tv, &tz);
91 current += tv.tv_usec;
100 if ( 0 == sys_start ) {
103 sys_start = 10*c - t;