wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Functions
stopwatch.h File Reference
#include <wut.h>
#include "spinlock.h"
#include "time.h"
Include dependency graph for stopwatch.h:

Go to the source code of this file.

Data Structures

struct  OSStopwatch
 

Typedefs

typedef struct OSStopwatch OSStopwatch
 

Functions

void OSInitStopwatch (OSStopwatch *stopwatch, const char *name)
 Initialises the stopwatch, stopwatches must be initialized before any other stopwatch functions are used. More...
 
void OSResetStopwatch (OSStopwatch *stopwatch)
 Resets all stopwatch data. More...
 
void OSStartStopwatch (OSStopwatch *stopwatch)
 Starts the stopwatch. More...
 
void OSStopStopwatch (OSStopwatch *stopwatch)
 Stops the stopwatch and increments hit count. More...
 
OSTime OSCheckStopwatch (OSStopwatch *stopwatch)
 Returns the total time the stopwatch has been running. More...
 
void OSDumpStopwatch (OSStopwatch *stopwatch)
 Dumps stopwatch info to the Cafe OS warn log. More...