From 3f2e550f51fe3d821a6ac845b3b6b1bb55c066b5 Mon Sep 17 00:00:00 2001 From: rowanG077 Date: Mon, 25 Sep 2023 11:37:11 +0200 Subject: [PATCH] tmg: Fix logging of slack histogram --- common/kernel/timing_log.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/kernel/timing_log.cc b/common/kernel/timing_log.cc index 2a2137b5..1bc1e116 100644 --- a/common/kernel/timing_log.cc +++ b/common/kernel/timing_log.cc @@ -365,7 +365,7 @@ void Context::log_timing_results(TimingResult &result, bool print_histogram, boo if (print_fmax) log_fmax(this, result, warn_on_failure); - if (print_histogram && !timing_result.slack_histogram.empty()) + if (print_histogram && !result.slack_histogram.empty()) log_histogram(this, result); }