Eventhough utility like LatencyMon is useful to test Winodws latency, PowerShell provides a cmndlets “Get-Counter” (example copied below). This cmndlets can run for an interval of time or continuously.
E.g for short interval run:
Get-Counter -Counter “\Processor(_Total)\% Processor Time” -SampleInterval 5 -MaxSamples 2
Sample interval 5 means every 5 sec counter checks it and Maxsamples 2 means 2 results are generated.
E.g. for continuous run:
Get-Counter -Counter “\Processor(_Total)\% Processor Time” -Continuous