get_device_..._crosststamp(9)
π NAME π
okay bestie, welcome to the get_device_..._crosststamp(9) page from the Kernel API Manual β manual name folded in right here so it's giving intro, not dusty header energy π«Ά
get_device_system_crosststampβ Synchronously capture system/device timestamp β¨
β¨ SYNOPSIS β¨
this is the exact signature, no cap π§
int get_device_system_crosststamp (int (*get_time_fn) (ktime_t
*device_time, struct system_counterval_t *sys_counterval, void *ctx) ,
void *ctx , struct system_time_snapshot *history_begin ,
struct system_device_crosststamp *xtstamp );
π ARGUMENTS π
okay, the args, one by one π
get_time_fnβ Callback to get simultaneous device time and system counter from the device driver.ctxβ Context passed toget_time_fn.history_beginβ Historical reference point used to interpolate system time when the counter value provided by the driver is before the current interval.xtstampβ Receives simultaneously captured system and device time.
π¦ DESCRIPTION π¦
Reads a timestamp from a device and correlates it to system time. literally the whole plot π
Also: see documentation for ktime_get_snapshot_id for information about the raw monotonic time stamp which is used here. π
π SEE ALSO π
Kernel file: ./kernel/time/timekeeping.c β home base π‘
and here are all the SEE ALSO besties, every single one, because we do not skip refs in this house π
struct tk_fast(9)tk_setup_internals(9)update_fast_timekeeper(9)ktime_get_mono_fast_ns(9)ktime_get_raw_fast_ns(9)ktime_get_boot_fast_ns(9)ktime_get_tai_fast_ns(9)ktime_get_real_fast_ns(9)halt_fast_timekeeper(9)pvclock_gtod_register_notifier(9)pvclock_gtod_unregister_notifier(9)timekeeping_forward_now(9)ktime_get_real_ts64(9)ktime_mono_to_any(9)ktime_get_raw(9)ktime_get_ts64(9)ktime_get_seconds(9)ktime_get_real_seconds(9)__ktime_get_real_seconds(9)ktime_get_snapshot_id(9)adjust_historical_crosststamp(9)ktime_real_to_base_clock(9)timekeeping_clocksource_has_base(9)do_settimeofday64(9)__timekeeping_inject_offset(9)timekeeping_notify(9)ktime_get_raw_ts64(9)timekeeping_valid_for_hres(9)timekeeping_max_deferment(9)read_persistent_clock64(9)read_persistent_wall_and_boot_offset(9)__timekeeping_inject_sleeptime(9)timekeeping_inject_sleeptime64(9)timekeeping_resume(9)update_wall_time(9)getboottime64(9)ktime_get_coarse_real_ts64_mg(9)ktime_get_real_ts64_mg(9)ktime_get_update_offsets_now(9)random_get_entropy_fallback(9)do_adjtimex(9)hardpps(9)ktime_get_aux(9)ktime_get_aux_ts64(9)
okay that's the whole page, bestie π«Ά signing off from source ./kernel/time, dated October 2026, filed under get_device_..._crosststamp(9) and blessed by the Kernel API Manual π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms