🟨 Time handling (relative, absolute, high resolution)
Library contains classes to measure time and compute or measure time intervals.
Class | Description |
---|---|
SC::Time::Absolute | Absolute time represented with milliseconds since epoch. |
SC::Time::Relative | Interval of time represented with 64 bit double precision float. |
SC::Time::HighResolutionCounter | An high resolution time counter. |
🟨 MVP
This library is in MVP state but it doesn't have a clear roadmap.
Absolute time represented with milliseconds since epoch.
Parses local time to a Parsed structure.
[out] | result | The Parsed structure holding current date / time |
true
if time has been parsed successfully Interval of time represented with 64 bit double precision float.
An high resolution time counter.
Sets HighResolutionCounter to current instant
Example:
Subtracts another HighResolutionCounter from this one, returning an approximate Relative.
other | The HighResolutionCounter to be subtracted |
Check if this HighResolutionCounter is later or equal to another HighResolutionCounter.
other | The HighResolutionCounter to be used in the comparison |
true
if this HighResolutionCounter is later or equal to another HighResolutionCounter 🟩 Usable
🟦 Complete Features:
💡 Unplanned Features: