Skip to content

Instantly share code, notes, and snippets.

@he3als
he3als / DPC Latency.cmd
Last active June 5, 2024 09:09
DPC latency script using xperf
<# : batch portion
@echo off & cls
:: script made by he3als
:::::::::::::::::::
:: Configuration ::
:::::::::::::::::::
set "tempDir=%windir%\Temp"
# $VerbosePreference = "continue"
$TestValues = [System.Collections.ArrayList](
[PSCustomObject]@{
Description = "Short, Fixed, High foreground boost."
HexValue = "2A"
DecValue = "42"
},
[PSCustomObject]@{
Description = "Short, Fixed, Medium foreground boost."