Detect throttle

Signed-off-by: Georgy Evtushenko <evtushenko.georgy@gmail.com>
This commit is contained in:
Georgy Evtushenko
2025-04-07 22:13:09 -07:00
parent 36adf3a210
commit f29f7ac2fb
15 changed files with 435 additions and 33 deletions

View File

@@ -133,6 +133,23 @@
* Applies to the most recent `--benchmark`, or all benchmarks if specified
before any `--benchmark` arguments.
* `--discard-on-throttle`
* Discard measurements if the GPU is throttled.
* Applies to the most recent `--benchmark`, or all benchmarks if specified
before any `--benchmark` arguments.
* `--throttle-threshold <value>`
* Set the GPU throttle threshold as percentage of the peak clock rate.
* Default is 0.75 (75%).
* Applies to the most recent `--benchmark`, or all benchmarks if specified
before any `--benchmark` arguments.
* `--throttle-recovery-delay <value>`
* Set the GPU throttle recovery delay in seconds.
* Default is 0.5 seconds.
* Applies to the most recent `--benchmark`, or all benchmarks if specified
before any `--benchmark` arguments.
* `--run-once`
* Only run the benchmark once, skipping any warmup runs and batched
measurements.