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) = 0; |
84 virtual void makeInLink(NodeID src, SwitchID dest, BasicLink* link, 85 LinkDirection direction, |
86 const NetDest& routing_table_entry) = 0; |
87 virtual void makeInternalLink(SwitchID src, SwitchID dest, BasicLink* link, 88 LinkDirection direction, |
89 const NetDest& routing_table_entry) = 0; |
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 --- |