Switch.hh (8259:36987780169e) Switch.hh (9117:49116b947194)
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;

--- 54 unchanged lines hidden (view full) ---

63 const Throttle* getThrottle(LinkID link_number) const;
64 const std::vector<Throttle*>* getThrottles() const;
65 void clearRoutingTables();
66 void clearBuffers();
67 void reconfigureOutPort(const NetDest& routing_table_entry);
68
69 void printStats(std::ostream& out) const;
70 void clearStats();
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;

--- 54 unchanged lines hidden (view full) ---

63 const Throttle* getThrottle(LinkID link_number) const;
64 const std::vector<Throttle*>* getThrottles() const;
65 void clearRoutingTables();
66 void clearBuffers();
67 void reconfigureOutPort(const NetDest& routing_table_entry);
68
69 void printStats(std::ostream& out) const;
70 void clearStats();
71 void printConfig(std::ostream& out) const;
72
73 void print(std::ostream& out) const;
74
75 private:
76 // Private copy constructor and assignment operator
77 Switch(const Switch& obj);
78 Switch& operator=(const Switch& obj);
79
80 PerfectSwitch* m_perfect_switch_ptr;

--- 15 unchanged lines hidden ---
71 void print(std::ostream& out) const;
72
73 private:
74 // Private copy constructor and assignment operator
75 Switch(const Switch& obj);
76 Switch& operator=(const Switch& obj);
77
78 PerfectSwitch* m_perfect_switch_ptr;

--- 15 unchanged lines hidden ---