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

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