wut  v1.7.0
Wii U Toolchain
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
13 extern "C" {
14 #endif
15 
17 
19 {
24 };
25 WUT_CHECK_OFFSET(OSStopWatchAtomic, 0x00, startTime);
26 WUT_CHECK_OFFSET(OSStopWatchAtomic, 0x08, totalTime);
27 WUT_CHECK_SIZE(OSStopWatchAtomic, 0x10);
28 
34 OSTime
36 
42 OSTime
44 
49 OSTime
51 
52 
58 OSTime
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