Go to the source code of this file.
|
| unsigned int | gLastCycleCount |
| | The time-stamp counter at the last reading.
|
| unsigned int | gDeltaCycles |
| | The cycles between the last two readings.
|
| int | gCalibrateCount |
| | 1 once the counter is calibrated and read at every update.
|
| float | gMsPerCycle |
| | The milliseconds of one cycle of the time-stamp counter.
|
| unsigned __int64 | gTotalCycles |
| | The cycles counted since the timer started.
|
◆ ReadTimeStampCounter()
| unsigned int ReadTimeStampCounter |
( |
| ) |
|
|
inline |
- Returns
- The low word of the processor's time-stamp counter.
◆ TimerUpdateMs()
Add the cycles since the last reading to the total.
- Returns
- The time since the timer started, in milliseconds.
◆ gLastCycleCount
| unsigned int gLastCycleCount |
|
extern |
The time-stamp counter at the last reading.
- Ghidra address:
- 0x10040c98
◆ gDeltaCycles
| unsigned int gDeltaCycles |
|
extern |
The cycles between the last two readings.
- Ghidra address:
- 0x10040c9c
◆ gCalibrateCount
1 once the counter is calibrated and read at every update.
- Ghidra address:
- 0x10040ca8
◆ gMsPerCycle
The milliseconds of one cycle of the time-stamp counter.
- Ghidra address:
- 0x10040cb0
◆ gTotalCycles
| unsigned __int64 gTotalCycles |
|
extern |
The cycles counted since the timer started.
- Ghidra address:
- 0x10040cb8