Home
last modified time | relevance | path

Searched refs:RefTime (Results 1 – 2 of 2) sorted by relevance

/external/srec/portable/src/
Dpcputimer.c36 LARGE_INTEGER RefTime; member
54 tmp->RefTime.QuadPart = -1; in PCPUTimerCreate()
87 timer->RefTime.QuadPart = (((LARGE_INTEGER*) & KernelTime)->QuadPart + in PCPUTimerStart()
99 if (timer->RefTime.QuadPart != -1) in PCPUTimerStop()
113 timer->RefTime.QuadPart) / 10; in PCPUTimerStop()
127 if (timer->RefTime.QuadPart != -1) in PCPUTimerGetElapsed()
141 timer->RefTime.QuadPart) / 10; in PCPUTimerGetElapsed()
156 timer->RefTime.QuadPart = -1; in PCPUTimerReset()
168 asr_uint32_t RefTime; member
Dptimer.c37 LARGE_INTEGER RefTime; member
63 tmp->RefTime.QuadPart = 0; in PTimerCreate()
84 return (QueryPerformanceCounter(&timer->RefTime) ? in PTimerStart()
95 if (timer->RefTime.QuadPart != 0) in PTimerStop()
99 timer->elapsed.QuadPart += now.QuadPart - timer->RefTime.QuadPart; in PTimerStop()
100 timer->RefTime.QuadPart = 0; in PTimerStop()
116 if (timer->RefTime.QuadPart != 0) in PTimerGetElapsed()
120 *elapsed = (asr_uint32_t) ((timer->elapsed.QuadPart + (now.QuadPart - timer->RefTime.QuadPart)) in PTimerGetElapsed()
137 timer->RefTime.QuadPart = 0; in PTimerReset()