Trace: Interrupts (DPC/ISR): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „ == Create Trace == '''Copy the directory "Windows Performance Toolkit" from the "Windows Assesment and Deployment Kit" installation directory to the Node to t…“)
 
Zeile 1: Zeile 1:
  
 
== Create Trace ==
 
== Create Trace ==
'''Copy the directory "Windows Performance Toolkit" from the "Windows Assesment and Deployment Kit" installation directory to the Node to trace''' <br>
+
''Copy the directory "Windows Performance Toolkit" from the "Windows Assesment and Deployment Kit" installation directory to the Node to trace'' <br>
 +
 
 +
'''Start Trace'''
 
  xperf.exe -on base+interrupt+dpc
 
  xperf.exe -on base+interrupt+dpc
 +
 +
'''Stop Trace'''
 +
xperf.exe  -d interrupt_trace.etl
 +
 +
 +
 +
== Analyze the trace ==
 +
*Start the "Windows Performance Analyzer" and open the trace.
 +
*Expand the following & double click on the graph to open it:
 +
**Computation -> DPC/ISR -> DPC Timeline by Module, Function*
 +
**Computation -> DPC/ISR -> ISR Duration by Module, Function*
 +
*Sort the "Duration" in red <br>
 +
[[Datei:01-Windows Performance Analyzer.png|800px]] <br>
 +
*The driver or process on the top generates the most interrupts and should be analyze further
  
  

Version vom 5. Februar 2019, 12:28 Uhr

Create Trace

Copy the directory "Windows Performance Toolkit" from the "Windows Assesment and Deployment Kit" installation directory to the Node to trace

Start Trace

xperf.exe -on base+interrupt+dpc

Stop Trace

xperf.exe  -d interrupt_trace.etl


Analyze the trace

  • Start the "Windows Performance Analyzer" and open the trace.
  • Expand the following & double click on the graph to open it:
    • Computation -> DPC/ISR -> DPC Timeline by Module, Function*
    • Computation -> DPC/ISR -> ISR Duration by Module, Function*
  • Sort the "Duration" in red

01-Windows Performance Analyzer.png

  • The driver or process on the top generates the most interrupts and should be analyze further