Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
platf::linux_high_precision_timer Class Reference
Inheritance diagram for platf::linux_high_precision_timer:
[legend]
Collaboration diagram for platf::linux_high_precision_timer:
[legend]

Public Member Functions

void sleep_for (const std::chrono::nanoseconds &duration) override
 Sleep for the duration.
 operator bool () override
 Check if platform-specific timer backend has been initialized successfully.

Detailed Description

Definition at line 1800 of file misc.cpp.

Member Function Documentation

◆ operator bool()

platf::linux_high_precision_timer::operator bool ( )
inlineoverridevirtual

Check if platform-specific timer backend has been initialized successfully.

Returns
true on success, false on error

Implements platf::high_precision_timer.

Definition at line 1806 of file misc.cpp.

◆ sleep_for()

void platf::linux_high_precision_timer::sleep_for ( const std::chrono::nanoseconds & duration)
inlineoverridevirtual

Sleep for the duration.

Parameters
durationSleep duration

Implements platf::high_precision_timer.

Definition at line 1802 of file misc.cpp.


The documentation for this class was generated from the following file: