task_cputimers_expired(9)
π task_cputimers_expired(9) β Kernel API Manual π
Hey bestie, welcome to the Kernel API Manual glow-up for task_cputimers_expired. Letβs get into it π«Ά
β¨ NAME β¨
task_cputimers_expired β check whether posix CPU timers are expired π
πΈ SYNOPSIS πΈ
bool task_cputimers_expired (const u64 *samples , struct posix_cputimers
*pct );
π ARGUMENTS π
samplesβ array of current samples for theCPUCLOCKclocks. Thatβs the tea for the clocks, iykyk β¨pctβ pointer to aposix_cputimerscontainer. Itβs giving container energy.
π¦ DESCRIPTION π¦
Okay so the whole serve: this function returns true if any member of samples is greater than the corresponding member of pct->bases[CLK].nextevt. False otherwise. Thatβs the whole plot, no cap π
π SEE ALSO π
- Kernel file
./kernel/time/posix-cpu-timers.cβ go peek π thread_group_sample_cputime(9)thread_group_start_cputime(9)fastpath_timer_check(9)
Catch you in the kernel, bestie β source/version: ./kernel/time, date: October 2026. Mwah π
π¦ 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