SimpleNetwork.hh (11049:dfb0aa3f0649) | SimpleNetwork.hh (11064:386a5200e298) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 48 unchanged lines hidden (view full) --- 57 void regStats(); 58 59 // sets the queue requested 60 void setToNetQueue(NodeID id, bool ordered, int network_num, 61 std::string vnet_type, MessageBuffer *b); 62 void setFromNetQueue(NodeID id, bool ordered, int network_num, 63 std::string vnet_type, MessageBuffer *b); 64 | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 48 unchanged lines hidden (view full) --- 57 void regStats(); 58 59 // sets the queue requested 60 void setToNetQueue(NodeID id, bool ordered, int network_num, 61 std::string vnet_type, MessageBuffer *b); 62 void setFromNetQueue(NodeID id, bool ordered, int network_num, 63 std::string vnet_type, MessageBuffer *b); 64 |
65 bool isVNetOrdered(int vnet) { return m_ordered[vnet]; } 66 bool validVirtualNetwork(int vnet) { return m_in_use[vnet]; } | 65 bool isVNetOrdered(int vnet) const { return m_ordered[vnet]; } |
67 68 // Methods used by Topology to setup the network 69 void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, 70 LinkDirection direction, 71 const NetDest& routing_table_entry); 72 void makeInLink(NodeID src, SwitchID dest, BasicLink* link, 73 LinkDirection direction, 74 const NetDest& routing_table_entry); --- 43 unchanged lines hidden --- | 66 67 // Methods used by Topology to setup the network 68 void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, 69 LinkDirection direction, 70 const NetDest& routing_table_entry); 71 void makeInLink(NodeID src, SwitchID dest, BasicLink* link, 72 LinkDirection direction, 73 const NetDest& routing_table_entry); --- 43 unchanged lines hidden --- |