ktime_mono_to_real(9)
π ktime_mono_to_real(9) β the kernel API manual, bestie edition
okay so this is a section 9 (kernel API) page, and it's literally the glow-up you need when your timestamp is stuck in monotonic-land and you want it to look like an actual clock on the wall π°οΈβ¨
β¨ NAME β¨
ktime_mono_to_real β convert monotonic time to clock realtime. that's it, that's the whole job, and it ate π
πΈ SYNOPSIS πΈ
ktime_t ktime_mono_to_real (ktime_t mono );
π ARGUMENTS π
monoβ the monotonic time you want converted, bestie. hand it over π«Ά
β RETURN β
your time, but converted to the realtime clock π₯ like it went through a whole transformation arc and came out main character energy
π¦ SEE ALSO π¦
okay so the kernel file is ./include/linux/timekeeping.h and honestly the whole friend group is here:
ktime_get_real(9)ktime_get_boottime(9)ktime_get_clocktai(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)struct system_device_crosststamp(9)
ngl, that's a whole squad β go say hi to all of them, iykyk π
π and that's the page!! brought to you by the fine folks hanging out in ./include/linux, dated October 2026, and filed under ktime_mono_to_real(9) β periodt, go convert some time bestie ππ§ββοΈ
π¦ 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