mirror of https://github.com/YosysHQ/nextpnr.git
heap: fix calculation of legalisation runtime
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
a13729951c
commit
93fe10ceb1
|
|
@ -911,8 +911,6 @@ class HeAPPlacer
|
|||
(ci->cluster != ClusterId() && ctx->getClusterRootCell(ci->cluster)->udata != dont_solve)))
|
||||
ctx->unbindBel(ci->bel);
|
||||
}
|
||||
auto endt = std::chrono::high_resolution_clock::now();
|
||||
p->sl_time += std::chrono::duration<float>(endt - startt).count();
|
||||
|
||||
// At the moment we don't follow the full HeAP algorithm using cuts for legalisation, instead using
|
||||
// the simple greedy largest-macro-first approach.
|
||||
|
|
@ -947,6 +945,8 @@ class HeAPPlacer
|
|||
p->time_per_cell_type[ci->type] += std::chrono::duration<float>(ci_endt - ci_startt).count();
|
||||
}
|
||||
}
|
||||
auto endt = std::chrono::high_resolution_clock::now();
|
||||
p->sl_time += std::chrono::duration<float>(endt - startt).count();
|
||||
}
|
||||
void legalise_cell(CellInfo *ci)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue