37 WUT_PADDING_BYTES(0x4);
OSTime totalTime
Total time from first start to last stop.
OSTime minTime
Minimum time between stops.
uint32_t hitCount
Number of times the stopwatch has been stopped.
BOOL running
Whether the stopwatch is running.
OSTime maxTime
Maximum time between stops.
OSTime startTime
Last time the watch was started.
void OSInitStopwatch(OSStopwatch *stopwatch, const char *name)
Initialises the stopwatch, stopwatches must be initialized before any other stopwatch functions are u...
void OSStartStopwatch(OSStopwatch *stopwatch)
Starts the stopwatch.
void OSStopStopwatch(OSStopwatch *stopwatch)
Stops the stopwatch and increments hit count.
OSTime OSCheckStopwatch(OSStopwatch *stopwatch)
Returns the total time the stopwatch has been running.
void OSDumpStopwatch(OSStopwatch *stopwatch)
Dumps stopwatch info to the Cafe OS warn log.
void OSResetStopwatch(OSStopwatch *stopwatch)
Resets all stopwatch data.