models/network/iris/components/simpleRouter.cc
void SimpleRouter :: set_port_cross_lp (int port)
{
    port_cross_lp[port] = true;
    if (!cross_lp_flag)
	cross_lp_flag = true;
    //cout<<"router: "<<node_id<<" port: "<<port<<endl;
}
//record the ports that connected to another router that at different lp
record the ports that connected to another router that at different lp
record the ports that connected to another router that at different lp
void SimpleRouter :: set_port_cross_lp (int port)
{
    port_cross_lp[port] = true;
    if (!cross_lp_flag)
	cross_lp_flag = true;
}
void SimpleRouter :: set_port_cross_lp ( int port ) { port_cross_lp [ port ] = true ; if ( ! cross_lp_flag ) cross_lp_flag = true ; }
record the ports that connected to another router that at different lp
record the ports that connected to another router that at different lp
//cout<<"router: "<<node_id<<" port: "<<port<<endl;