exynos4_read_count_64(9)
π exynos4_read_count_64(9) π
okay so bestie, welcome to the Kernel API Manual entry for exynos4_read_count_64 β yes that's a function name, no we're not scared of it πβ¨
πΈ NAME πΈ
exynos4_read_count_64 β reads all 64 bits of the global counter, every last one of them π
π SYNOPSIS π
u64 exynos4_read_count_64 (void );
π¦ ARGUMENTS π¦
voidβ no arguments, bestie. literally none. she takes nothing, she gives everything π
β¨ DESCRIPTION β¨
so here's the tea π: this function reads all 64-bits of the global counter, and it's very careful about it β it makes sure the upper half and the lower half actually match before handing you the number. no messy mismatched halves on her watch, periodt π«Ά
β οΈ but listen β reading the MCT can be quite slow (we're talking hundreds of nanoseconds, which in kernel time is basically a whole errand π), so if you can get away with it, use the 32-bit version (lower half only) instead. she said what she said π
and what does it give you back? the number of cycles in the global counter. that's it, that's the vibe β
π SEE ALSO π
- Kernel file
./drivers/clocksource/exynos_mct.c exynos4_read_count_32(9)exynos4_timer_interrupts(9)
and that's the whole page, bestie π§π this icon was brought to you by the folks over at ./drivers/clocksource, dated October 2026, and yes the source/version line still says exynos4_read_count_64(9) because we respect the lore π mwah, go read the 32-bit one if you're in a hurry π
π¦ 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