Banjo API 0.0.1
C99 game development API
Loading...
Searching...
No Matches
time.h File Reference
#include <banjo/api.h>
#include <banjo/error.h>
Include dependency graph for time.h:

Go to the source code of this file.

Data Structures

struct  bj_stopwatch

Typedefs

typedef struct bj_stopwatch bj_stopwatch

Functions

uint64_t bj_get_time (void)
void bj_sleep (int milliseconds)
double bj_run_time (void)
uint64_t bj_time_counter (void)
uint64_t bj_time_frequency (void)
void bj_reset_stopwatch (bj_stopwatch *p_stopwatch)
void bj_step_stopwatch (bj_stopwatch *p_stopwatch)
double bj_stopwatch_elapsed (const bj_stopwatch *p_stopwatch)
double bj_stopwatch_delay (const bj_stopwatch *p_stopwatch)
double bj_step_delay_stopwatch (bj_stopwatch *p_stopwatch)

Detailed Description

Header file for time manipulation utilities.