Skip to content

cf_get_ticks

Category: time
GitHub: cute_time.h


Returns the number of ticks elapsed right now since program start.

uint64_t cf_get_ticks();

Remarks

CF_TICK and CF_SECONDS are only recorded once at the beginning of an update (see cf_update_time). This function instead queries the application for the number of ticks right now. Mostly useful for performance measuring.

cf_get_tick_frequency