mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
Make skip_hot_measurement method const
This commit is contained in:
@@ -306,7 +306,7 @@ private:
|
||||
std::optional<nvbench::device_info> device,
|
||||
std::size_t type_config_index);
|
||||
|
||||
bool skip_hot_measurement() { return get_run_once() || get_skip_batched(); }
|
||||
[[nodiscard]] bool skip_hot_measurement() const { return get_run_once() || get_skip_batched(); }
|
||||
|
||||
std::reference_wrapper<const nvbench::benchmark_base> m_benchmark;
|
||||
nvbench::named_values m_axis_values;
|
||||
|
||||
Reference in New Issue
Block a user