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

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 (struct bj_stopwatch *stopwatch)
void bj_step_stopwatch (struct bj_stopwatch *stopwatch)
double bj_stopwatch_elapsed (const struct bj_stopwatch *stopwatch)
double bj_stopwatch_delay (const struct bj_stopwatch *stopwatch)
double bj_step_delay_stopwatch (struct bj_stopwatch *stopwatch)

Detailed Description

Header file for time manipulation utilities.