monotonic clock
More...
#include <Clock.hpp>
|
|
typedef std::uint64_t | Type |
| |
|
|
| Clock () |
| | Constructor 0.
|
| |
| | Clock (const Clock &in) |
| | Constructor copy.
|
| |
| | Clock (Type in) |
| | Constructor cast.
|
| |
|
void | Init () |
| | Initialization 0.
|
| |
| Clock & | operator= (const Clock &in) |
| | over write
|
| |
|
Type | getPicoSeconds () const |
| | Get time in pico seconds.
|
| |
|
Type | getNanoSeconds () const |
| | Get time in nano seconds.
|
| |
|
Type | getMicroSeconds () const |
| | Get time in micro seconds.
|
| |
|
Type | getMilliSeconds () const |
| | Get time in milli seconds.
|
| |
|
Type | getSeconds () const |
| | Get time in seconds.
|
| |
|
Clock | operator+ (const Clock &in) const |
| |
|
Clock & | operator+= (const Clock &in) |
| |
|
Clock | operator- (const Clock &in) const |
| |
|
Clock & | operator-= (const Clock &in) |
| |
|
Clock | operator* (Type in) const |
| |
|
Clock & | operator*= (Type in) |
| |
|
Clock | operator/ (Type in) const |
| |
|
Clock & | operator/= (Type in) |
| |
|
Type | operator/ (Clock in) const |
| |
|
Clock | operator% (const Clock &in) const |
| |
|
Clock & | operator%= (const Clock &in) |
| |
|
bool | operator< (const Clock &in) const |
| |
|
bool | operator> (const Clock &in) const |
| |
|
bool | operator<= (const Clock &in) const |
| |
|
bool | operator>= (const Clock &in) const |
| |
|
bool | operator== (const Clock &in) const |
| |
|
bool | operator!= (const Clock &in) const |
| |
|
COMP_CODE | Comp (const Clock &in) const |
| | Compare two clock.
|
| |
|
Type | getRaw () const |
| | Get raw clock data.
|
| |
|
void | setRaw (std::uint64_t in) |
| | Set raw clock data.
|
| |
|
Type | getAbs () const |
| | Get absolute clock value.
|
| |
|
|
static Clock | PicoSeconds (Type in) |
| | Cast form pico seconds.
|
| |
|
static Clock | NanoSeconds (Type in) |
| | Cast form nano seconds.
|
| |
|
static Clock | MicroSeconds (Type in) |
| | Cast form micro seconds.
|
| |
|
static Clock | MilliSeconds (Type in) |
| | Cast form milli seconds.
|
| |
|
static Clock | Seconds (Type in) |
| | Cast form seconds.
|
| |
|
static Clock | zero () |
| | Zero clock.
|
| |
|
static Clock | now () |
| | Current clock.
|
| |
|
|
static const Type | Herf = UINT64_MAX/2ULL |
| |
◆ Clock() [1/2]
| ACQUA::Clock::Clock |
( |
const Clock & | in | ) |
|
|
inline |
Constructor copy.
- Parameters
-
◆ Clock() [2/2]
| ACQUA::Clock::Clock |
( |
Type | in | ) |
|
|
inlineexplicit |
Constructor cast.
- Parameters
-
◆ operator=()
| Clock & ACQUA::Clock::operator= |
( |
const Clock & | in | ) |
|
|
inline |
over write
- Parameters
-
- Returns
- myself
The documentation for this class was generated from the following file: