Banjo API 0.0.1
Multi-purpose C99 API
Loading...
Searching...
No Matches
time.h File Reference

Header file for time manipulation.

#include <banjo/api.h>
#include <banjo/error.h>
Include dependency graph for time.h:

Go to the source code of this file.

Functions

void bj_sleep (int milliseconds)
 Suspends the current thread for a specified duration.
 
double bj_get_time (void)
 Gets the current time in seconds.
 
uint64_t bj_get_time_counter (void)
 Gets the current raw high-resolution time counter.
 
uint64_t bj_get_time_frequency (void)
 Gets the frequency of the high-resolution time counter.