wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
stopwatchatomic.h
Go to the documentation of this file.
1#pragma once
2
3#include <wut.h>
4#include "time.h"
5
12#ifdef __cplusplus
13extern "C" {
14#endif
15
17
25WUT_CHECK_OFFSET(OSStopWatchAtomic, 0x00, startTime);
26WUT_CHECK_OFFSET(OSStopWatchAtomic, 0x08, totalTime);
27WUT_CHECK_SIZE(OSStopWatchAtomic, 0x10);
28
36
44
51
52
60
61#ifdef __cplusplus
62}
63#endif
64
OSTime totalTime
Total time from first start to last stop.
OSTime startTime
Last time the watch was started.
OSTime OSStopWatchStart(OSStopWatchAtomic *stopWatch)
Start the stopwatch.
OSTime OSStopWatchReset(OSStopWatchAtomic *stopWatch)
Stops and resets the stop watch.
OSTime OSStopWatchStop(OSStopWatchAtomic *stopWatch)
Stop the stopwatch.
OSTime OSStopWatchLap(OSStopWatchAtomic *stopWatch)
Get the current time on the stopwatch.
int64_t OSTime
Definition time.h:18