![]() |
VectorNav C Library
|
#include "vn/int.h"
#include "vn/error.h"
#include "vn/enum.h"
Go to the source code of this file.
Data Structures | |
struct | VnStopwatch |
Provides simple timing capabilities. More... | |
Functions | |
VnError | VnStopwatch_initializeAndStart (VnStopwatch *stopwatch) |
Initializes and starts a stopwatch. More... | |
VnError | VnStopwatch_reset (VnStopwatch *stopwatch) |
Resets the stopwatch's timing. More... | |
VnError | VnStopwatch_elapsedMs (VnStopwatch *stopwatch, float *elapsedMs) |
Determines the number of milliseconds elapsed since the last reset of the stopwatch. More... | |
VnError VnStopwatch_elapsedMs | ( | VnStopwatch * | stopwatch, |
float * | elapsedMs | ||
) |
Determines the number of milliseconds elapsed since the last reset of the stopwatch.
[in] | stopwatch | The associated VnStopwatch. |
[out] | elapsedMs | The elapsed time in milliseconds. |
VnError VnStopwatch_initializeAndStart | ( | VnStopwatch * | stopwatch | ) |
Initializes and starts a stopwatch.
[in] | stopwatch | The VnStopwatch to initialize and start. |
VnError VnStopwatch_reset | ( | VnStopwatch * | stopwatch | ) |
Resets the stopwatch's timing.
[in] | stopwatch | The associated VnStopwatch. |