This is the documentation for Enlighten.

module System

Classes

Name Description
Geo::GeoFrameTime

This class measures frame rate and also computes a running average of the last n frames.

Geo::GeoTimer

A simple task timer Construct a GeoTimer, then as each task begins simply create a local GeoTimer::Task object to automatically start and stop the clock.

Geo::GeoTimer::Task

The Task object that the user creates to wrap an activity.

Geo::QuickTaskTimer

A little class to time a task.

Geo::ScopedTickCounter

A class that times the interval between construction and destruction, adding this number of ticks to the counter provided.

Geo::ScopedTimer

A class that times the interval between construction and destruction, adding the number of milliseconds to the counter provided.

Functions

Name Description
SysInitialise()

Initialise platform-specific OS basics.

SysQueryCurrentTime()

Return the current system time in seconds since 1970-01-01T00:00:00.

SysQueryPerformanceCounter()

Returns the current performance counter.

SysQueryPerformanceFrequency()

Returns the number of system performance counter ticks in a second.

SysTidyup()

Tidyup platform-specific OS basics.


bool GEO_CALL Geo::SysInitialise


public: bool GEO_CALL SysInitialise()


Initialise platform-specific OS basics.


u64 GEO_CALL Geo::SysQueryCurrentTime


public: u64 GEO_CALL SysQueryCurrentTime()


Return the current system time in seconds since 1970-01-01T00:00:00.


s64 GEO_CALL Geo::SysQueryPerformanceCounter


public: s64 GEO_CALL SysQueryPerformanceCounter()


Returns the current performance counter.


s64 GEO_CALL Geo::SysQueryPerformanceFrequency


public: s64 GEO_CALL SysQueryPerformanceFrequency()


Returns the number of system performance counter ticks in a second.


void GEO_CALL Geo::SysTidyup


public: void GEO_CALL SysTidyup()


Tidyup platform-specific OS basics.