Searched refs:g_msec (Results 1 – 2 of 2) sorted by relevance
57 static DWORD g_msec = 0; variable216 if (v->calc_fps && msec >= g_msec + 1000) { in loop_once()217 double sec = (msec - g_msec) / 1000.0; in loop_once()227 g_msec = msec; in loop_once()250 g_msec = GetTickCount(); // let's stay for 0,5 sec in main_loop()251 while (g_msec + 500 > GetTickCount()) { in main_loop()255 g_msec = GetTickCount(); in main_loop()
29 static DWORD g_msec = 0; variable79 fps /= (GetTickCount() - g_msec) / 1000.0; in terminate()108 g_msec = GetTickCount(); in next_frame()