|
ginnOS
The reference: libc, the libraries and the kernel
|
the timer ticks of a core since boot, as the "cpu" lines of Linux's /proc/stat. More...
#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/kernel/cpu/cpu.h>
Data Fields | |
| uint64_t | user |
| uint64_t | nice |
| uint64_t | system |
| uint64_t | idle |
the timer ticks of a core since boot, as the "cpu" lines of Linux's /proc/stat.
only the core itself adds to them, in its timer interrupt. another core that reads them on i686 can see a torn value when the low half overflows (after 497 days), which is only for display.
| uint64_t cpu_times_t::user |
| uint64_t cpu_times_t::nice |
| uint64_t cpu_times_t::system |
| uint64_t cpu_times_t::idle |