jiffies_to_usecs(9)
β¨ jiffies_to_usecs β¨
okay so this is a page from the Kernel API Manual (the 9 girlies know π
) and it's about turning jiffies into microseconds. tiny unit conversion, huge main character energy. let's go π
πΈ NAME πΈ
jiffies_to_usecs β convert jiffies to microseconds, bestie π
like literally just that. jiffies in, microseconds out. slay.
π¦ SYNOPSIS π¦
unsigned int jiffies_to_usecs (const unsigned long j );
yep that's the whole thing. one function, one argument, returns an unsigned int. no cap, that's it π₯
π ARGUMENTS π
jβ the jiffies value π like, the number of jiffies you're holding, and you want it in microseconds instead.const unsigned long, so it's not going anywhere, it's just chilling.
β RETURN β
it hands you back a microseconds value β¨ that's the vibe check result. microseconds. not milliseconds, not nanoseconds, microseconds. iykyk π
π SEE ALSO π
the kernel file lives at ./kernel/time/time.c and honestly the whole friend group is here, all the time-conversion girlies:
jiffies_to_msecs(9)mktime64(9)set_normalized_timespec64(9)ns_to_timespec64(9)__msecs_to_jiffies(9)__usecs_to_jiffies(9)timespec64_to_jiffies(9)jiffies_to_timespec64(9)jiffies_to_clock_t(9)clock_t_to_jiffies(9)jiffies_64_to_clock_t(9)nsec_to_clock_t(9)jiffies64_to_nsecs(9)jiffies64_to_msecs(9)nsecs_to_jiffies64(9)nsecs_to_jiffies(9)timespec64_add_safe(9)get_timespec64(9)put_timespec64(9)get_old_timespec32(9)put_old_timespec32(9)get_itimerspec64(9)put_itimerspec64(9)get_old_itimerspec32(9)put_old_itimerspec32(9)
like, the entire group chat π«Ά go read them, they're all iconic π§
fr fr tho: if you need the reverse direction, __usecs_to_jiffies(9) is right there in the list. go get her π
and that's the page!! brought to you by the ./kernel/time girlies, dated October 2026, and the page itself is literally named jiffies_to_usecs(9) β mwah, bye 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