diff --git a/apps/openssl/apps_win.c b/apps/openssl/apps_win.c index 6d066c0..364c033 100644 --- a/apps/openssl/apps_win.c +++ b/apps/openssl/apps_win.c @@ -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) {