STRUCT SYSTEM_DEVICE_CROSSTSTAMP(9)
π NAME π
okay so welcome to the struct syste..._crosststamp(9) page from the Kernel API Manual, bestie β aka the full struct system_device_crosststamp β¨
This one is the system/device cross-timestamp (synchronized capture) vibe. Iconic, honestly π
π SYNOPSIS π
struct system_device_crosststamp {
clockid_t clock_id;
ktime_t device;
struct system_counterval_t sys_counter;
ktime_t sys_systime;
ktime_t sys_monoraw;
};
π«Ά Members π«Ά
clock_idβ System time Clock ID to capture πdeviceβ Device time π°οΈsys_counterβ Clocksource counter value simultaneous with device time π§sys_systimeβ System time forclock_idπΈsys_monorawβ Monotonic raw simultaneous with device time β
π Description π
So sys_monoraw is CLOCK_MONOTONIC_RAW for system time CLOCK ids. For CLOCK_AUX$N clock ids itβs the monotonic raw time related to the AUX clock, which is CLOCK_MONOTONIC_RAW plus a AUX clock specific offset π¦
β SEE ALSO β
the kernel file ./include/linux/timekeeping.h is right there, and the SEE ALSO besties are:
ktime_get_real(9)ktime_get_boottime(9)ktime_get_clocktai(9)ktime_mono_to_real(9)ktime_get_ns(9)ktime_get_real_ns(9)ktime_get_boottime_ns(9)ktime_get_clocktai_ns(9)ktime_get_raw_ns(9)struct system_time_snapshot(9)struct system_counterval_t(9)
okay thatβs the whole page, bestie π source/version: ./include/linux; date: October 2026; footer page tag: struct syste..._crosststamp(9) β mwah, slay, bye π
π¦ 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