Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

class Geo::QuickTaskTimer

A little class to time a task.

Functions

NameDescription
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.


Anchor
a049e2155887af359fea2eebc0eda6921
a049e2155887af359fea2eebc0eda6921

Geo::s64 Geo::QuickTaskTimer::EndMicroseconds

...

public: Geo::s64 EndMicroseconds() const

...

Returns the time since object creation, in us.


Anchor
aa5e4362a6cdbc00f1f0d00ad2bb382f3
aa5e4362a6cdbc00f1f0d00ad2bb382f3

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.


Anchor
a5a78828fb81ded9baecccc53e3c81ed8
a5a78828fb81ded9baecccc53e3c81ed8

Geo::s64 Geo::QuickTaskTimer::EndMilliseconds

...

public: Geo::s64 EndMilliseconds() const

...

Returns the time since object creation, in ms.


Anchor
a6072d400072d435c14239bd96991c3ee
a6072d400072d435c14239bd96991c3ee

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.


Anchor
a0ecc9a7d38cbcb207ea119c2c55e9281
a0ecc9a7d38cbcb207ea119c2c55e9281

double Geo::QuickTaskTimer::EndSeconds

...

public: double EndSeconds() const

...

Returns the time since object creation, in seconds.


Anchor
ade3a670cb9070b4e32e76b52a4a335ec
ade3a670cb9070b4e32e76b52a4a335ec

Geo::s64 Geo::QuickTaskTimer::EndTicks

...

public: Geo::s64 EndTicks() const

...

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


Anchor
adcbae312970abc585974504de512c98d
adcbae312970abc585974504de512c98d

Geo::QuickTaskTimer::QuickTaskTimer

...

public: QuickTaskTimer()

...

Constructor. Starts the clock.


Anchor
ab3aad733e3a6882a675591a19ea71456
ab3aad733e3a6882a675591a19ea71456

void Geo::QuickTaskTimer::Reset

...

public: void Reset()

...

Reset the clock.