Old timer class.
More...
#include <Timer.h>
Old timer class.
Definition at line 36 of file Timer.h.
◆ currentTimeMicroseconds()
static int64_t Cogs::Timer::currentTimeMicroseconds |
( |
| ) |
|
|
inlinestatic |
◆ currentTimeMilliseconds()
static int64_t Cogs::Timer::currentTimeMilliseconds |
( |
| ) |
|
|
inlinestatic |
◆ elapsedMicroseconds()
int64_t Cogs::Timer::elapsedMicroseconds |
( |
| ) |
|
|
inline |
◆ elapsedMilliseconds()
int64_t Cogs::Timer::elapsedMilliseconds |
( |
| ) |
|
|
inline |
◆ elapsedSeconds()
double Cogs::Timer::elapsedSeconds |
( |
| ) |
|
|
inline |
◆ getScale()
int64_t Cogs::Timer::getScale |
( |
| ) |
const |
|
inline |
◆ resetScale()
void Cogs::Timer::resetScale |
( |
| ) |
|
|
inline |
◆ scalePerfTime()
TimePerf Cogs::Timer::scalePerfTime |
( |
TimePerf |
time | ) |
|
|
inline |
◆ setScale()
void Cogs::Timer::setScale |
( |
int64_t |
s | ) |
|
|
inline |
◆ start()
void Cogs::Timer::start |
( |
| ) |
|
|
inline |
◆ startNew()
static Timer Cogs::Timer::startNew |
( |
| ) |
|
|
inlinestatic |
◆ stop()
void Cogs::Timer::stop |
( |
| ) |
|
|
inline |
◆ running
bool Cogs::Timer::running = false |
|
private |
◆ scale
int64_t Cogs::Timer::scale = 1000 |
|
private |
◆ startTime
TimePerf Cogs::Timer::startTime = {} |
|
private |
◆ stopTime
TimePerf Cogs::Timer::stopTime = {} |
|
private |
The documentation for this class was generated from the following file:
- D:/a/1/s/Cogs/Cogs.Foundation/Source/Platform/Timer.h