|
|
void | Start (void) |
| | Start the timer.
|
| |
| long | Stop (void) |
| |
|
void | Print (void) |
| | Prints the number of nanoseconds elapsed since the timer was started.
|
| |
|
void | PrintInverse (void) |
| | Prints the inverse (1/x) of number of nanoseconds elapsed since the timer was started, good to measure frequencies.
|
| |
| void | WaitUntil (long time) |
| |
| long NanoTimer::Stop |
( |
void |
| ) |
|
Returns the number of nanoseconds elapsed since the timer was started
- Returns
- nanoseconds
| void NanoTimer::WaitUntil |
( |
long |
time | ) |
|
Prints the inverse (1/x) of number of nanoseconds elapsed since the timer was started, good to measure frequencies
- Parameters
-
| time | Wait until this amount of time has elapsed since styarting the timer |
The documentation for this class was generated from the following files: