|
| static long long | get_monotonic () |
| | Get the monotonic time since the system started.
|
| |
| static long long | get_realtime () |
| | Get the current RTC time.
|
| |
| static void | set_realtime (long long time) |
| | Set the current RTC time.
|
| |
|
|
| DISALLOW_COPY_AND_ASSIGN (OSTime) |
| |
|
| ~OSTime () |
| | Default destructor.
|
| |
Definition at line 554 of file OS.hxx.
◆ get_monotonic()
| static long long OSTime::get_monotonic |
( |
| ) |
|
|
inlinestatic |
Get the monotonic time since the system started.
- Returns
- time in nanoseconds since system start
Definition at line 560 of file OS.hxx.
◆ get_realtime()
| static long long OSTime::get_realtime |
( |
| ) |
|
|
inlinestatic |
Get the current RTC time.
- Returns
- time in nanoseconds of the RTC time.
- Todo:
- need to fill in the Real Time Clock infrastructure
Definition at line 568 of file OS.hxx.
◆ set_realtime()
| static void OSTime::set_realtime |
( |
long long |
time | ) |
|
|
inlinestatic |
Set the current RTC time.
- Todo:
- need to fill in the Real Time Clock infrastructure
Definition at line 576 of file OS.hxx.
The documentation for this class was generated from the following file: