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 makeExtOutLink(SwitchID src, NodeID dest, BasicLink* link, |
63 const NetDest& routing_table_entry); |
64 void makeExtInLink(NodeID src, SwitchID dest, BasicLink* link, |
65 const NetDest& routing_table_entry); 66 void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, |
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 --- |