#include <fastmm/core/time.hpp>
|
| constexpr bool | has_rate () const noexcept |
| |
|
| std::uint64_t | tsc0 = 0 |
| | TSC reading at the anchor.
|
| |
| std::int64_t | ns0 = 0 |
| | wall time at the anchor
|
| |
| std::uint64_t | ns_per_cycle_q32 = 0 |
| | 32.32 fixed point; 0: no TSC rate
|
| |
| double | ghz = 0.0 |
| | diagnostics only
|
| |
| bool | use_tsc = false |
| | Wall time from the TSC.
|
| |
◆ has_rate()
| constexpr bool fastmm::TscCalibration::has_rate |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ tsc0
| std::uint64_t fastmm::TscCalibration::tsc0 = 0 |
TSC reading at the anchor.
◆ ns0
| std::int64_t fastmm::TscCalibration::ns0 = 0 |
◆ ns_per_cycle_q32
| std::uint64_t fastmm::TscCalibration::ns_per_cycle_q32 = 0 |
32.32 fixed point; 0: no TSC rate
◆ ghz
| double fastmm::TscCalibration::ghz = 0.0 |
◆ use_tsc
| bool fastmm::TscCalibration::use_tsc = false |
Wall time from the TSC.
False with a non-zero rate (TscKind::Constant): wall time from clock_gettime, TSC cycle intervals still convert with the rate.