Skip to content

Instantly share code, notes, and snippets.

View Earthbadger's full-sized avatar

Earth Earthbadger

  • United Kingdom
View GitHub Profile
@Earthbadger
Earthbadger / xperf-dpcisr.bat
Created May 23, 2024 08:09 — forked from deaglebullet/xperf-dpcisr.bat
Create a ISR and DPC execution times report with xperf (ETW)
@echo off
DISM > nul 2>&1 || echo error: administrator privileges required >&2 && exit /b 1
where xperf.exe > nul 2>&1
if not %errorlevel% == 0 (
echo error: xperf not found in path. install "Windows Performance Toolkit" in the ADK from the link below >&2
echo https://learn.microsoft.com/en-us/windows-hardware/get-started/adk-install
exit /b 1
)
@Earthbadger
Earthbadger / XHCI-IMOD-Interval.ps1
Created May 23, 2024 08:09 — forked from deaglebullet/XHCI-IMOD-Interval.ps1
Configure the IMOD Interval for XHCI controllers with RWEverything
param(
[switch]$verbose
)
# The variables starting with $GLOBAL store values that should be applied to all XHCI controllers by default.
# To override this default value on a per-controller basis, specify the DEV_XXXX hardware ID value for the XHCI controller along with its data
# See the example below.
#
# $globalInterval = 0x0
# $globalHCSPARAMSOffset = 0x4
### Keybase proof
I hereby claim:
* I am earthbadger on github.
* I am earthbadger (https://keybase.io/earthbadger) on keybase.
* I have a public key ASAVQWAvI6J5o4URAbh1Q-lkKL8USVfy8zyod-tUuPwNhgo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am earthbadger on github.
  • I am earthbadger (https://keybase.io/earthbadger) on keybase.
  • I have a public key ASAVQWAvI6J5o4URAbh1Q-lkKL8USVfy8zyod-tUuPwNhgo

To claim this, I am signing this object: