cros_ec_get_time_ns(9)
okay so welcome to the cros_ec_get_time_ns(9) page from the Kernel API Manual β she's short, she's iconic, and she's literally just here to hand you a timestamp π
β¨
πΈ NAME πΈ
cros_ec_get_time_ns β Return time in ns. π°οΈ
π SYNOPSIS π
ktime_t cros_ec_get_time_ns (void );
π¦ ARGUMENTS π¦
voidβ no arguments. bestie said "none" and meant it, no cap π«Ά
π DESCRIPTION π
This is the function used to record the time for last_event_time in struct cros_ec_device during the hard irq. like, she's the one doing the timestamping in the hard irq, periodt π₯
πΈ RETURN πΈ
Returns a ktime_t format since boot. so it's giving "time since boot," not "time since lunch," iykyk β
π₯ SEE ALSO π₯
- Kernel file
./include/linux/platform_data/cros_ec_proto.hβ plusstruct cros_ec_command(9),struct cros_ec_device(9),struct cros_ec_platform(9), andstruct cros_ec_dev(9)π¦π
signing off from ./include/linux/platform_data β October 2026 β on the cros_ec_get_time_ns(9) page π«Άπβ¨
π¦ 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