fixed routing stats

This commit is contained in:
tangxifan 2020-02-04 16:20:25 -07:00
parent 969dd7c467
commit e3db937daa
1 changed files with 2 additions and 7 deletions

View File

@ -404,13 +404,8 @@ void create_rr_graph(const t_graph_type graph_type,
void print_rr_graph_stats() { void print_rr_graph_stats() {
auto& device_ctx = g_vpr_ctx.device(); auto& device_ctx = g_vpr_ctx.device();
size_t num_rr_edges = 0; VTR_LOG(" RR Graph Nodes: %zu\n", device_ctx.rr_graph.nodes().size());
for (auto& rr_node : device_ctx.rr_nodes) { VTR_LOG(" RR Graph Edges: %zu\n", device_ctx.rr_graph.edges().size());
num_rr_edges += rr_node.edges().size();
}
VTR_LOG(" RR Graph Nodes: %zu\n", device_ctx.rr_nodes.size());
VTR_LOG(" RR Graph Edges: %zu\n", num_rr_edges);
} }
bool channel_widths_unchanged(const t_chan_width& current, const t_chan_width& proposed) { bool channel_widths_unchanged(const t_chan_width& current, const t_chan_width& proposed) {