xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/inttimes_example.txt (revision 9fd8799cb5ceb66c69f2eb1a6d26a1d587ba1f1e)
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