Cogs.Foundation
|
Go to the source code of this file.
Classes | |
class | Cogs::Timer |
Old timer class. More... | |
Namespaces | |
namespace | Cogs |
Main Cogs namespace. | |
Typedefs | |
typedef int64_t | Cogs::TimePerf |
typedef int64_t | Cogs::Time |
Functions | |
COGSFOUNDATION_API TimePerf | Cogs::perfTime () |
High resolution performance timer. Returns an implementation defined absolute timestamp, can be subtracted to get a time duration. | |
COGSFOUNDATION_API Time | Cogs::currentTime () |
High resolution clock time (NTP / UTC time). Returns an implementation defined absolute timestamp, can be subtracted to get a time duration. | |
COGSFOUNDATION_API TimePerf | Cogs::perfTimeReference () |
Functions that provide a reference time point at the start of the application startup. Useful for application uptime or converting absolute timestamps to a narrow value range. | |
COGSFOUNDATION_API Time | Cogs::currentTimeReference () |
COGSFOUNDATION_API int64_t | Cogs::perfTimeToMicroseconds (TimePerf time) |
Convertion functions for timestamps. | |
COGSFOUNDATION_API int64_t | Cogs::perfTimeToMilliseconds (TimePerf time) |
COGSFOUNDATION_API double | Cogs::perfTimeToSeconds (TimePerf time) |
COGSFOUNDATION_API int64_t | Cogs::currentTimeToMicroseconds (Time time) |
COGSFOUNDATION_API int64_t | Cogs::currentTimeToMilliseconds (Time time) |
COGSFOUNDATION_API double | Cogs::currentTimeToSeconds (Time time) |