diff options
Diffstat (limited to 'client/time.h')
-rw-r--r-- | client/time.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/time.h b/client/time.h new file mode 100644 index 0000000..75b1f70 --- /dev/null +++ b/client/time.h @@ -0,0 +1,11 @@ +#pragma once + +/** amount of parallel timers */ +#define W2_CLIENT_TIMER_COUNT (4) +extern unsigned long g_w2_client_timers[W2_CLIENT_TIMER_COUNT]; +typedef enum { + W2_TIMER_PING = 0 +} w2_e_client_timers; + +void w2_timer_start(w2_e_client_timers label); +unsigned long w2_timer_end(w2_e_client_timers label); |