Make skip_hot_measurement method const

This commit is contained in:
Oleksandr Pavlyk
2026-02-02 14:42:07 -06:00
parent f049f10977
commit a33a454a2d

View File

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