USB latency analyzer that counts chips between your input devices and the CPU. Fewer chips = lower latency.
irm https://tools.mariusheier.com/cpudirect.ps1 | iexcurl -fsSL https://tools.mariusheier.com/cpudirect.bash | bashor
wget -qO- https://tools.mariusheier.com/cpudirect.bash | bash- CHIP 0: Device connects directly to CPU (lowest latency)
- CHIP 1: Device goes through chipset (adds latency)
- CHIP 2+: Device goes through USB hub(s) (more latency)
- Identifies all USB input devices (mice, keyboards, controllers)
- Shows USB controller topology (Intel/AMD CPU-integrated vs chipset)
- Detects MSI interrupt status
- Identifies USB hubs in the path
- Suggests optimizations (disable selective suspend, enable MSI)
All releases include SHA256 checksums. To verify:
Powershell:
(Get-FileHash cpudirect.ps1 -Algorithm SHA256).Hashbash:
sha256sum cpudirect.bashCompare with the checksum in the release notes.
MIT