Skip to content

Commit f9673e9

Browse files
committed
[vpr][route] add comment for routing struggle metric
1 parent a3d9784 commit f9673e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vpr/src/route/route.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ bool route(const Netlist<>& net_list,
582582
// profiling::time_on_criticality_analysis();
583583
}
584584

585+
// Calculates the number of iterations with high heap ops.
586+
// This is defined as an iteration that has more heap operations than the maximum of the previous three iterations.
585587
int num_high_heap_ops_iters = 0;
586588
if (per_iter_heap_ops_count.size() > 4) {
587589
for (int i = 3; i < static_cast<int>(per_iter_heap_ops_count.size()); i++) {

0 commit comments

Comments
 (0)