Network.hh (9594:219ad5fe8c04) | Network.hh (9799:5aed42e54180) |
---|---|
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; --- 66 unchanged lines hidden (view full) --- 75 int netNumber, std::string vnet_type) = 0; 76 virtual MessageBuffer* getFromNetQueue(NodeID id, bool ordered, 77 int netNumber, std::string vnet_type) = 0; 78 virtual const std::vector<Throttle*>* getThrottles(NodeID id) const; 79 virtual int getNumNodes() {return 1;} 80 81 virtual void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, 82 LinkDirection direction, | 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; --- 66 unchanged lines hidden (view full) --- 75 int netNumber, std::string vnet_type) = 0; 76 virtual MessageBuffer* getFromNetQueue(NodeID id, bool ordered, 77 int netNumber, std::string vnet_type) = 0; 78 virtual const std::vector<Throttle*>* getThrottles(NodeID id) const; 79 virtual int getNumNodes() {return 1;} 80 81 virtual void makeOutLink(SwitchID src, NodeID dest, BasicLink* link, 82 LinkDirection direction, |
83 const NetDest& routing_table_entry, 84 bool isReconfiguration) = 0; | 83 const NetDest& routing_table_entry) = 0; |
85 virtual void makeInLink(NodeID src, SwitchID dest, BasicLink* link, 86 LinkDirection direction, | 84 virtual void makeInLink(NodeID src, SwitchID dest, BasicLink* link, 85 LinkDirection direction, |
87 const NetDest& routing_table_entry, 88 bool isReconfiguration) = 0; | 86 const NetDest& routing_table_entry) = 0; |
89 virtual void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, 90 LinkDirection direction, | 87 virtual void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, 88 LinkDirection direction, |
91 const NetDest& routing_table_entry, 92 bool isReconfiguration) = 0; | 89 const NetDest& routing_table_entry) = 0; |
93 94 virtual void reset() = 0; 95 96 virtual void printStats(std::ostream& out) const = 0; 97 virtual void clearStats() = 0; 98 virtual void print(std::ostream& out) const = 0; 99 100 /* --- 32 unchanged lines hidden --- | 90 91 virtual void reset() = 0; 92 93 virtual void printStats(std::ostream& out) const = 0; 94 virtual void clearStats() = 0; 95 virtual void print(std::ostream& out) const = 0; 96 97 /* --- 32 unchanged lines hidden --- |