Shifted moving of data containers after printing
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
parent
9018782eaa
commit
1ed692aca9
@ -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
|
// Print critical paths
|
||||||
if (print_path) {
|
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(),
|
std::string(bins[i] * bar_width / max_freq, '*').c_str(),
|
||||||
(bins[i] * bar_width) % max_freq > 0 ? '+' : ' ');
|
(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
|
NEXTPNR_NAMESPACE_END
|
||||||
|
Loading…
Reference in New Issue
Block a user