This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

class Geo::QuickTaskTimer

A little class to time a task.

Functions

Name Description
EndMicroseconds()

Returns the time since object creation, in us.

EndMicrosecondsClamped()

Returns the time since object creation, in us. If value does not fit in 32-bit it will be clamped.

EndMilliseconds()

Returns the time since object creation, in ms.

EndMillisecondsClamped()

Returns the time since object creation, in ms. If value does not fit in 32-bit it will be clamped.

EndSeconds()

Returns the time since object creation, in seconds.

EndTicks()

Returns the time since object creation, in ticks (whatever they are on this platform).

QuickTaskTimer()

Constructor. Starts the clock.

Reset()

Reset the clock.


Geo::s64 Geo::QuickTaskTimer::EndMicroseconds


public: Geo::s64 EndMicroseconds() const


Returns the time since object creation, in us.


Geo::u32 Geo::QuickTaskTimer::EndMicrosecondsClamped


public: Geo::u32 EndMicrosecondsClamped() const


Returns the time since object creation, in us. If value does not fit in 32-bit it will be clamped.


Geo::s64 Geo::QuickTaskTimer::EndMilliseconds


public: Geo::s64 EndMilliseconds() const


Returns the time since object creation, in ms.


Geo::u32 Geo::QuickTaskTimer::EndMillisecondsClamped


public: Geo::u32 EndMillisecondsClamped() const


Returns the time since object creation, in ms. If value does not fit in 32-bit it will be clamped.


double Geo::QuickTaskTimer::EndSeconds


public: double EndSeconds() const


Returns the time since object creation, in seconds.


Geo::s64 Geo::QuickTaskTimer::EndTicks


public: Geo::s64 EndTicks() const


Returns the time since object creation, in ticks (whatever they are on this platform).


Geo::QuickTaskTimer::QuickTaskTimer


public: QuickTaskTimer()


Constructor. Starts the clock.


void Geo::QuickTaskTimer::Reset


public: void Reset()


Reset the clock.

  • No labels