The Context Switch Action
The context switch action produces a report file that summarizes the various metrics regarding context switches. The usage for this action is:
-a cswitch [-util [n] -process -thread -exc_dpcisr -range T1 T2]
Option | Description |
---|---|
avail [n] |
Show CPU availability for n second intervals, default 1 second |
util [n] |
Show CPU utilization for n second intervals, default 1 second |
process |
Show CPU usage per process as deduced from context switch data |
thread |
Show CPU usage per thread as deduced from context switch data |
exc_dpcisr |
Exclude time spent in DPC/ISR in availability, utilization process and thread reports. DPC/Interrupt tracing must have been enabled for this option to have any effect |
range T1 T2 |
Show data between times T1 and T2, both in use |
If no report type is selected, default is to show CPU availability report.