mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 02:01:39 +00:00
19 lines
390 B
C
19 lines
390 B
C
|
#pragma once
|
||
|
|
||
|
#ifndef timer_h__
|
||
|
#define timer_h__
|
||
|
|
||
|
#include "compat.h"
|
||
|
|
||
|
int32_t timerInit(int32_t);
|
||
|
void timerUninit(void);
|
||
|
void timerUpdate(void);
|
||
|
int32_t timerGetRate(void);
|
||
|
uint64_t timerGetTicksU64(void);
|
||
|
uint64_t timerGetFreqU64(void);
|
||
|
double timerGetHiTicks(void);
|
||
|
uint32_t timerGetTicks(void);
|
||
|
void (*timerSetCallback(void (*callback)(void)))(void);
|
||
|
|
||
|
#endif // timer_h__
|