diff options
Diffstat (limited to 'common/timing.cc')
-rw-r--r-- | common/timing.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/common/timing.cc b/common/timing.cc index 76bcfd64..b6d9b325 100644 --- a/common/timing.cc +++ b/common/timing.cc @@ -1299,17 +1299,6 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p } } - // Update timing results in the context - if (update_results) { - auto& results = ctx->timing_result; - - results.clock_fmax = std::move(clock_fmax); - results.clock_paths = std::move(clock_reports); - results.xclock_paths = std::move(xclock_reports); - - results.detailed_net_timings = std::move(detailed_net_timings); - } - // Print critical paths if (print_path) { @@ -1500,6 +1489,17 @@ void timing_analysis(Context *ctx, bool print_histogram, bool print_fmax, bool p std::string(bins[i] * bar_width / max_freq, '*').c_str(), (bins[i] * bar_width) % max_freq > 0 ? '+' : ' '); } + + // Update timing results in the context + if (update_results) { + auto& results = ctx->timing_result; + + results.clock_fmax = std::move(clock_fmax); + results.clock_paths = std::move(clock_reports); + results.xclock_paths = std::move(xclock_reports); + + results.detailed_net_timings = std::move(detailed_net_timings); + } } NEXTPNR_NAMESPACE_END |