|
join 1.0
lightweight network framework library
|
rdtsc clock policy (requires invariant TSC and CPU pinning). More...
#include <clock.hpp>
Public Types | |
| using | Duration = std::chrono::nanoseconds |
| using | TimePoint = std::chrono::time_point<NanoClock> |
| using | Stats = BasicStats<Rdtsc> |
Public Member Functions | |
| Rdtsc () noexcept | |
| default constructor. | |
Static Public Member Functions | |
| static TimePoint | now () noexcept |
| read the current time. | |
rdtsc clock policy (requires invariant TSC and CPU pinning).
| using join::Rdtsc::Duration = std::chrono::nanoseconds |
| using join::Rdtsc::Stats = BasicStats<Rdtsc> |
| using join::Rdtsc::TimePoint = std::chrono::time_point<NanoClock> |
|
inlinenoexcept |
default constructor.
|
inlinestaticnoexcept |
read the current time.