Skip to content

Commit 1e10c27

Browse files
remove unused sTNS and sWNS in Placer
1 parent a3bb762 commit 1e10c27

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

vpr/src/place/placer.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,6 @@ void Placer::place() {
314314
}
315315
#endif
316316

317-
float sTNS = NAN;
318-
float sWNS = NAN;
319-
320317
const t_annealing_state& annealing_state = annealer_->get_annealing_state();
321318
const auto& [swap_stats, move_type_stats, placer_stats] = annealer_->get_stats();
322319

@@ -332,8 +329,6 @@ void Placer::place() {
332329

333330
if (placer_opts_.place_algorithm.is_timing_driven()) {
334331
critical_path_ = timing_info_->least_slack_critical_path();
335-
sTNS = timing_info_->setup_total_negative_slack();
336-
sWNS = timing_info_->setup_worst_negative_slack();
337332

338333
// see if we should save the current placement solution as a checkpoint
339334
if (placer_opts_.place_checkpointing && annealer_->get_agent_state() == e_agent_state::LATE_IN_THE_ANNEAL) {
@@ -378,8 +373,6 @@ void Placer::place() {
378373

379374
if (placer_opts_.place_quench_algorithm.is_timing_driven()) {
380375
critical_path_ = timing_info_->least_slack_critical_path();
381-
sTNS = timing_info_->setup_total_negative_slack();
382-
sWNS = timing_info_->setup_worst_negative_slack();
383376
}
384377

385378
log_printer_.print_place_status(temperature_timer.elapsed_sec());

0 commit comments

Comments
 (0)