This batch script is made for the Windows 7 version of xperf. It runs xperf for 5 seconds and records base+interrupt+dpc, then generates a report in C:/. Run as administrator.
Inspired by mbk1969's post here: https://forums.guru3d.com/threads/simple-way-to-trace-dpcs-and-isrs.423884/
Download xperf for Windows 7 here: http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKPerformanceToolKit_amd64/wpt_x64.msi