timer.h File Reference

#include "CrabClaw/types.h"

Functions

uint32 cc_timer_ms_gettime ()
 Get the number of milliseconds since launch time.
void cc_timer_reset ()
 Reset the launch time of the program.

Function Documentation

uint32 cc_timer_ms_gettime (  ) 

Get the number of milliseconds since launch time.

This function returns the number of miiliseconds since cc_timer_reset() was last called.

Since:
1.0.0
Returns:
32-bit unsigned millisecond count.

void cc_timer_reset (  ) 

Reset the launch time of the program.

This function updates the platform-dependent launch time to be the time that it currently is. This function is generally called internally, but is available to call externally, if a programmer so desires.

Since:
1.0.0

SourceForge.net Logo