linux_api::time::ITIMER_PROF [] [src]

pub const ITIMER_PROF: c_int = 2

Decrements both while the process is executing and while the system is executing on behalf of the process

This is usually used to profile kernel-space and user-space concurrently.

If coupled with ITIMER_VIRTUAL, you can separate the two values - What is left when ITIMER_VIRTUAL's value is removed is kernel time