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