SimpleNetwork.hh (11124:5d38dc2f7d66) | SimpleNetwork.hh (11663:cf870cd20cfc) |
---|---|
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; --- 45 unchanged lines hidden (view full) --- 54 bool getAdaptiveRouting() {return m_adaptive_routing; } 55 56 void collateStats(); 57 void regStats(); 58 59 bool isVNetOrdered(int vnet) const { return m_ordered[vnet]; } 60 61 // Methods used by Topology to setup the network | 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; --- 45 unchanged lines hidden (view full) --- 54 bool getAdaptiveRouting() {return m_adaptive_routing; } 55 56 void collateStats(); 57 void regStats(); 58 59 bool isVNetOrdered(int vnet) const { return m_ordered[vnet]; } 60 61 // Methods used by Topology to setup the network |
62 void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, 63 LinkDirection direction, | 62 void makeExtOutLink(SwitchID src, NodeID dest, BasicLink* link, |
64 const NetDest& routing_table_entry); | 63 const NetDest& routing_table_entry); |
65 void makeInLink(NodeID src, SwitchID dest, BasicLink* link, 66 LinkDirection direction, | 64 void makeExtInLink(NodeID src, SwitchID dest, BasicLink* link, |
67 const NetDest& routing_table_entry); 68 void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, | 65 const NetDest& routing_table_entry); 66 void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, |
69 LinkDirection direction, | |
70 const NetDest& routing_table_entry); 71 72 void print(std::ostream& out) const; 73 74 bool functionalRead(Packet *pkt); 75 uint32_t functionalWrite(Packet *pkt); 76 77 private: --- 30 unchanged lines hidden --- | 67 const NetDest& routing_table_entry); 68 69 void print(std::ostream& out) const; 70 71 bool functionalRead(Packet *pkt); 72 uint32_t functionalWrite(Packet *pkt); 73 74 private: --- 30 unchanged lines hidden --- |