Update example to show to customize throttle threshold

This commit is contained in:
Yunsong Wang
2025-04-23 14:10:16 -07:00
parent 31efce1ec8
commit 797f91bc7e

View File

@@ -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);