86 static LARGE_INTEGER perfFreq;
87 static Bool_t usePerformanceCounter = QueryPerformanceFrequency(&perfFreq);
89 if (usePerformanceCounter) {
90 LARGE_INTEGER counter;
91 QueryPerformanceCounter(&counter);
93 static_cast<Double_t>(perfFreq.QuadPart);
102 GetSystemTimeAsFileTime(&ft);
103 uli.LowPart = ft.dwLowDateTime;
104 uli.HighPart = ft.dwHighDateTime;
106 return static_cast<Double_t>(t /= 1E4);
109 gettimeofday(&tv,
nullptr);
110 return static_cast<Double_t>(tv.tv_sec*1E3) +
static_cast<Double_t>(tv.tv_usec) / 1E3;