FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::TscRecalibration Struct Reference

#include <fastmm/core/time.hpp>

Public Attributes

TscCalibration calibration
 to publish
 
std::int64_t drift_ns = 0
 CLOCK_REALTIME at the new anchor minus the old mapping's value.
 
std::int64_t host_step_ns = 0
 realtime change minus monotonic-raw change over the baseline
 
double elapsed_s = 0.0
 baseline length
 
double rate_change_ppm = 0.0
 
bool ok = false
 false: no TSC, or the baseline since the previous anchor is too short
 

Member Data Documentation

◆ calibration

TscCalibration fastmm::TscRecalibration::calibration

to publish

◆ drift_ns

std::int64_t fastmm::TscRecalibration::drift_ns = 0

CLOCK_REALTIME at the new anchor minus the old mapping's value.

◆ host_step_ns

std::int64_t fastmm::TscRecalibration::host_step_ns = 0

realtime change minus monotonic-raw change over the baseline

◆ elapsed_s

double fastmm::TscRecalibration::elapsed_s = 0.0

baseline length

◆ rate_change_ppm

double fastmm::TscRecalibration::rate_change_ppm = 0.0

◆ ok

bool fastmm::TscRecalibration::ok = false

false: no TSC, or the baseline since the previous anchor is too short