Hi,
I am trying to characterize some benchmark programs using dtrace. The
first step is to determine the time that a program spends on the CPU (doing
computations), and the time it spends doing IO. The cpu time can be easily
determined using the on-cpu and off-cpu probes. I am having
The easiest way to do this is using the sleep/wakeup
probes in the sched provider. From the process/thread
perspective, once they issue an IO, they sit on a sleep
queue until the IO is completed, at which point they're
issued a wakeup.
io:start/io:::done is usefull for a system view, but that's