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