Lines Matching refs:num_routers
52 num_routers = options.num_cpus
78 assert(num_rows > 0 and num_rows <= num_routers)
79 num_columns = int(num_routers / num_rows)
80 assert(num_columns * num_rows == num_routers)
81 caches_per_router, remainder = divmod(len(cache_nodes), num_routers)
87 for i in range(num_routers)]
96 cntrl_level, router_id = divmod(i, num_routers)
106 for i in xrange(num_routers):
108 i < num_routers / 2:
111 i < num_routers / 2:
114 i >= num_routers / 2:
134 int_node=routers[num_routers - num_columns],
138 int_node=routers[num_routers - 1],