We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aba6197 commit a3d9784Copy full SHA for a3d9784
vpr/src/route/route.cpp
@@ -595,6 +595,11 @@ bool route(const Netlist<>& net_list,
595
}
596
597
598
+ // Calculates the routing struggle ratio.
599
+ // This ratio is defined as the number of iterations with high heap ops
600
+ // (i.e., iterations having more heap operations than the maximum of the previous three iterations
601
+ // divided by the total number of iterations.
602
+ // For more details, see TODO: routing struggle paper is not published yet.
603
float routing_struggle_ratio = 0.0;
604
if (per_iter_heap_ops_count.size() > 4) {
605
routing_struggle_ratio = static_cast<float>(num_high_heap_ops_iters) / static_cast<float>(per_iter_heap_ops_count.size() - 3);
0 commit comments