2026-08-08 20:33:32 +03:00
|
|
|
#ifndef CGE_TIMER_H
|
|
|
|
|
#define CGE_TIMER_H
|
|
|
|
|
|
2026-08-18 10:43:02 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2026-08-08 20:33:32 +03:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
int CgeTimerIsMonotonic(void);
|
|
|
|
|
uint64_t CgeTimerNanoseconds(void);
|
|
|
|
|
uint64_t CgeTimerMilliseconds(void);
|
|
|
|
|
|
2026-08-18 10:43:02 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2026-08-08 20:33:32 +03:00
|
|
|
#endif /* CGE_TIMER_H */
|