PerformanceCounter
in package
FinalYes
Represents a performance counter.
Table of Contents
Methods
- getFrequency() : int
- Timer frequency in ticks per second.
- getTicks() : int
- Current ticks from the system.
- getTicksSince() : int
- Ticks elapsed since the given value.
Methods
getFrequency()
Timer frequency in ticks per second.
public
static getFrequency() : int
Return values
int —Timer frequency.
getTicks()
Current ticks from the system.
public
static getTicks() : int
Return values
int —Ticks count.
getTicksSince()
Ticks elapsed since the given value.
public
static getTicksSince(int $since) : int
Parameters
- $since : int
-
Starting ticks value.
Return values
int —Ticks count since.