Struct Stopwatch
High-resolution performance counter based on Platform::GetTimeSeconds.
Assembly: FlaxEngine.dll
File: Engine/Core/Types/Stopwatch.h
Syntax
public struct Stopwatch
Constructors
Stopwatch()
Declaration
public Stopwatch()
Methods
GetMilliseconds()
Gets the milliseconds time.
Declaration
public int32 GetMilliseconds() const
Returns
int32
|
GetTotalMilliseconds()
Gets the total number of milliseconds.
Declaration
public double GetTotalMilliseconds() const
Returns
double
|
GetTotalSeconds()
Gets the total number of seconds.
Declaration
public float GetTotalSeconds() const
Returns
float
|
Start()
Declaration
public void Start()
Stop()
Declaration
public void Stop()