Skip to content

Commit

Permalink
LookaheadProfiler::clear() now uses vtr::release_memory()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Shreve committed Aug 15, 2024
1 parent 3f6b2ec commit 4a9277a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vpr/src/route/lookahead_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ void LookaheadProfiler::record(int iteration,
}

void LookaheadProfiler::clear() {
net_pin_blocks_.clear();
sink_atom_block_.clear();
sink_cluster_block_.clear();
tile_types_.clear();
vtr::release_memory(net_pin_blocks_);
vtr::release_memory(sink_atom_block_);
vtr::release_memory(sink_cluster_block_);
vtr::release_memory(tile_types_);
}

0 comments on commit 4a9277a

Please sign in to comment.