Skip to content

Commit ab1b89c

Browse files
committed
Report sample
1 parent 77ef570 commit ab1b89c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nvbench/detail/measure_cold.cu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,10 @@ void measure_cold_base::record_measurements()
9494
auto current_clock_rate = m_gpu_frequency.get_clock_frequency();
9595
auto &printer = printer_opt_ref.value().get();
9696
printer.log(nvbench::log_level::warn,
97-
fmt::format("GPU throttled ({:0.2f} MHz / {:0.2f} MHz) ",
97+
fmt::format("GPU throttled ({:0.2f} MHz / {:0.2f} MHz) on sample {}",
9898
static_cast<float>(current_clock_rate) / 1000000.0f,
99-
static_cast<float>(peak_clock_rate) / 1000000.0f));
99+
static_cast<float>(peak_clock_rate) / 1000000.0f,
100+
m_total_samples));
100101
}
101102

102103
if (m_throttle_recovery_delay > 0.0f)

0 commit comments

Comments
 (0)