cf_make_stopwatch¶
Category: time
GitHub: cute_time.h
Records a new start_time
for a CF_Stopwatch.
Return Value¶
Returns an initialize CF_Stopwatch to the time of right now (e.g. with cf_get_ticks internally).
Remarks¶
Once created with cf_make_stopwatch the time elapsed can be fetched. To reset the stopwatch, simply call
cf_make_stopwatch again and overwrite your old stopwatch. To fetch the time elapsed, call cf_stopwatch_seconds,
cf_stopwatch_milliseconds, or cf_microseconds
.
Related Pages¶
CF_Stopwatch
cf_stopwatch_microseconds
cf_stopwatch_seconds
cf_stopwatch_milliseconds