sfTime sfClock_getElapsedTime(const sfClock *clock)
Get the time elapsed in a clock.
void sfClock_stop(sfClock *clock)
Stop the clock.
sfClock * sfClock_copy(const sfClock *clock)
Create a new clock by copying an existing one.
bool sfClock_isRunning(const sfClock *clock)
Check whether the clock is running.
void sfClock_start(sfClock *clock)
Start the clock.
sfTime sfClock_restart(sfClock *clock)
Restart a clock.
void sfClock_destroy(const sfClock *clock)
Destroy a clock.
sfTime sfClock_reset(sfClock *clock)
Reset the clock.
sfClock * sfClock_create(void)
Create a new clock and start it.