2 <description>The timer facility has events related to timer events in the kernel.
</description>
4 <type name=itimer_kind
>
6 <label name=ITIMER_REAL value=
0/> <description>decrements in real time,
7 and delivers SIGALRM upon expiration.
</description>
8 <label name=ITIMER_VIRTUAL value=
1/> <description>decrements only when the
9 process is executing, and delivers SIGVTALRM upon expiration.
</description>
10 <label name=ITIMER_PROF value=
2/> <description>decrements both when the
11 process executes and when the system is executing on behalf of the
12 process. Coupled with ITIMER_VIRTUAL, this timer is usually used to
13 profile the time spent by the application in user and kernel space.
14 SIGPROF is delivered upon expiration.
</description>
19 <description>A timer or itimer has expired.
</description>
20 <field name=
"pid"> <description>PID of the process to wake up.
</description> <uint size=
4/> </field>
24 <description>The timer softirq is currently runned.
</description>
27 <event name=set_itimer
>
28 <description>An interval timer is set.
</description>
29 <field name=
"which"> <description>kind of interval timer.
</description>
30 <typeref name=itimer_kind
/></field>
31 <field name=
"interval_seconds"><uint size=
4/></field>
32 <field name=
"interval_microseconds"><uint size=
4/></field>
33 <field name=
"value_seconds"><uint size=
4/></field>
34 <field name=
"value_microseconds"><uint size=
4/></field>