summaryrefslogtreecommitdiff
path: root/client/time.h
blob: 30c8124490c1ec974e9034ae662e6d59f3243a72 (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);