Utility functions for timing things.
More...
|
ULONGLONG | getCurrentTimestamp () |
| Get the current timestamp in milliseconds.
|
|
double | getElapsedTime (LONGLONG qstart, LONGLONG qend) |
| Calculate the elapsed time between two given timestamps.
|
|
Utility functions for timing things.
◆ getCurrentTimestamp()
ULONGLONG getCurrentTimestamp |
( |
| ) |
|
Get the current timestamp in milliseconds.
- Returns
- The current timestamp in milliseconds.
◆ getElapsedTime()
double getElapsedTime |
( |
LONGLONG | qstart, |
|
|
LONGLONG | qend ) |
Calculate the elapsed time between two given timestamps.
- Parameters
-
qstart | The starting timestamp. |
qend | The ending timestamp. |
- Returns
- The elapsed time in seconds.
◆ PROCESSOR_FREQUENCY
const LONGLONG PROCESSOR_FREQUENCY |
|
extern |
The frequency of the processor.