macOS high-precision timer implementation backed by a worker thread.
More...
|
| | operator bool () override |
| | Explicitly report that the thread-based timer is always available.
|
| void | sleep_for (const std::chrono::nanoseconds &duration) override |
| | Sleep for the duration.
|
macOS high-precision timer implementation backed by a worker thread.
◆ operator bool()
| platf::macos_high_precision_timer::operator bool |
( |
| ) |
|
|
inlineexplicitoverridevirtual |
Explicitly report that the thread-based timer is always available.
- Returns
- True because sleeping needs no additional timer resource.
Implements platf::high_precision_timer.
◆ sleep_for()
| void platf::macos_high_precision_timer::sleep_for |
( |
const std::chrono::nanoseconds & | duration | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: