get_device_..._crosststamp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 to get_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 πŸ’–


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