xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Examples/inttimes_example.txt (revision d909946ca08dceb44d7d0f22ec9488679695d976)
1The following is a demonstration of the inttimes.d script,
2
3
4Here we run it for a few seconds then hit Ctrl-C,
5
6   # inttimes.d
7   Tracing... Hit Ctrl-C to end.
8   ^C
9        DEVICE           TIME (ns)
10          ata0              22324
11         uhci1              45893
12          ata1             138559
13         uhci0             229226
14        i80420            1305617
15         rtls0            2540175
16
17In the above output, we can see that the rtls0 driver spent 2540 us on the
18CPU servicing interrupts, while ata0 spent only 22 us.
19