vmware_steal_clock(9)
β¨ vmware_steal_clock(9) β¨
okay so bestie, welcome to the Kernel API Manual π this one's a lil kernel function page and honestly it's giving short king energy β but every detail matters so let's go π«Ά
πΈ NAME πΈ
vmware_steal_clock β read the per-cpu steal clock β°
like, literally just reads the steal clock for a cpu. that's the whole vibe. iconic, minimal, no notes π
π¦ SYNOPSIS π¦
u64 vmware_steal_clock (int cpu );
that's it. that's the whole call. one argument, one return, so clean β¨
π ARGUMENTS π
cpuβ the cpu number whose steal clock we want to read π§ so you're like, "hey, which cpu's clock do i want?" and this is your answer. pick your cpu, bestie π
π DESCRIPTION π
okay so here's the tea β this function reads the steal clock β but how it reads it depends on where you're at:
- if we're on a 64-bit system, it just reads the steal clock. slay, one and done π
- otherwise, it reads it in parts, and it checks that the high part didn't change in the meantime π like a little vibe check on the value so nothing gets messed up mid-read. careful queen behavior, honestly π
no cap, that's the whole thing. simple, but it's doing the work π
β RETURN β
the steal clock reading, in ns β±οΈ nanoseconds, periodt π
π₯ SEE ALSO π₯
- Kernel file
./arch/x86/kernel/cpu/vmware.cβ go read the source, iykyk π§β¨
aaaand that's the page!! π short, sweet, fully fact-checked, no cap. go forth and read your steal clocks responsibly bestie π«Άπ
this little cutie came from the source at ./arch/x86/kernel/cpu, dated October 2026 β 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