implement app_timer_real

This commit is contained in:
Brent Cook 2018-09-23 14:04:26 -05:00
parent 35dbed1ae9
commit b7a580e86a

View File

@ -12,6 +12,20 @@
#include "apps.h"
double
app_timer_real(int get)
{
static __int64 start;
__int64 now;
now = GetTickCount64();
if (get) {
return (now - start) / 1000.0;
}
start = now;
return 0.0;
}
double
app_timer_user(int stop)
{