mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Update example to show to customize throttle threshold
This commit is contained in:
@@ -74,4 +74,4 @@ void throughput_bench(nvbench::state &state)
|
||||
num_values);
|
||||
});
|
||||
}
|
||||
NVBENCH_BENCH(throughput_bench).set_stopping_criterion("fixed");
|
||||
NVBENCH_BENCH(throughput_bench).set_stopping_criterion("fixed").set_throttle_threshold(0.8f);
|
||||
|
||||
Reference in New Issue
Block a user