jiffies_to_nsecs(9)
π jiffies_to_nsecs(9) β Kernel API Manual π
okay so bestie, welcome to the Kernel API Manual, and today's main character is jiffies_to_nsecs(9). she's a little converter girlie and she's literally so good at her job π
β¨ NAME β¨
jiffies_to_nsecs β Convert jiffies to nanoseconds π¦
like, that's it. that's the whole vibe. jiffies in, nanoseconds out. slay π
β¨ SYNOPSIS β¨
u64 jiffies_to_nsecs (const unsigned long j );
yes bestie, that's the whole signature. she takes one (1) argument and gives you back a u64. no cap, no surprises, just math π§
β¨ ARGUMENTS β¨
jβ the jiffies value πΈ like, the actual number of jiffies you wanna convert. that's it, that's the input, she's not asking for much.
β¨ RETURN β¨
the nanoseconds value β that's what you get back. u64 shaped, nanosecond flavored. obsessed.
β¨ SEE ALSO β¨
okay this list is long and honestly it's giving "group chat with everyone who's ever touched time in the kernel" π but every single one of them is iconic and you should know them:
get_jiffies_64(9)- General information about
time_*inlines(9) time_after(9)time_before(9)time_after_eq(9)time_before_eq(9)time_in_range(9)time_in_range_open(9)time_after64(9)time_before64(9)time_after_eq64(9)time_before_eq64(9)time_in_range64(9)time_is_before_jiffies(9)time_is_before_jiffies64(9)time_is_after_jiffies(9)time_is_after_jiffies64(9)time_is_before_eq_jiffies(9)time_is_before_eq_jiffies64(9)time_is_after_eq_jiffies(9)time_is_after_eq_jiffies64(9)jiffies_to_msecs(9)jiffies_to_usecs(9)msecs_to_jiffies(9)secs_to_jiffies(9)usecs_to_jiffies(9)
and yeah, she lives in the kernel file ./include/linux/jiffies.h π so if you ever lose her, that's where she's at. iykyk.
and that's the page bestie!! π«Ά this little drop comes to you from ./include/linux, dated October 2026, and it's literally called jiffies_to_nsecs(9) in case you forgot already (you didn't, you ate this). go convert some jiffies, you absolute icon ππβ¨
π¦ 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