TChrono
A high resolution timing mechanism.
Constructors
Method New()
Creates a new TChrono instance.
Methods
Method Restart()
Restarts the timing mechanism.
Method GetElapsedTicks:Long()
Returns the number of elapsed ticks since the timing mechanism was started.
Method GetElapsedMilliseconds:ULong()
Returns the number of elapsed milliseconds since the timing mechanism was started.
Method Start()
Starts the timimg mechanism.
Method Stop()
Stops the timing mechanism.
Functions
Function GetTimestamp:ULong()
Returns the current timestamp, in ns.
Function Create:TChrono(start:Int = True)
Creates, and optionally starts an instance of TChrono.