summaryrefslogtreecommitdiff
path: root/client/time.h
blob: a989c5c6a9df020f0e98c4be796650aad5377e14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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_TIMER_UPDATE = 1,
} w2_e_client_timers;

void w2_timer_start(w2_e_client_timers label);
unsigned long w2_timer_end(w2_e_client_timers label);