SimpleNetwork.hh (8259:36987780169e) | SimpleNetwork.hh (8308:79cf09f5a234) |
---|---|
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; --- 50 unchanged lines hidden (view full) --- 59 60 void printStats(std::ostream& out) const; 61 void clearStats(); 62 void printConfig(std::ostream& out) const; 63 64 void reset(); 65 66 // returns the queue requested for the given component | 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; --- 50 unchanged lines hidden (view full) --- 59 60 void printStats(std::ostream& out) const; 61 void clearStats(); 62 void printConfig(std::ostream& out) const; 63 64 void reset(); 65 66 // returns the queue requested for the given component |
67 MessageBuffer* getToNetQueue(NodeID id, bool ordered, int network_num); 68 MessageBuffer* getFromNetQueue(NodeID id, bool ordered, int network_num); | 67 MessageBuffer* getToNetQueue(NodeID id, bool ordered, int network_num, std::string vnet_type); 68 MessageBuffer* getFromNetQueue(NodeID id, bool ordered, int network_num, std::string vnet_type); |
69 virtual const std::vector<Throttle*>* getThrottles(NodeID id) const; 70 71 bool isVNetOrdered(int vnet) { return m_ordered[vnet]; } 72 bool validVirtualNetwork(int vnet) { return m_in_use[vnet]; } 73 74 int getNumNodes() {return m_nodes; } 75 76 // Methods used by Topology to setup the network --- 52 unchanged lines hidden --- | 69 virtual const std::vector<Throttle*>* getThrottles(NodeID id) const; 70 71 bool isVNetOrdered(int vnet) { return m_ordered[vnet]; } 72 bool validVirtualNetwork(int vnet) { return m_in_use[vnet]; } 73 74 int getNumNodes() {return m_nodes; } 75 76 // Methods used by Topology to setup the network --- 52 unchanged lines hidden --- |