PerfectSwitch.hh (10311:ad9c042dce54) | PerfectSwitch.hh (10312:08f4deeb5b48) |
---|---|
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; --- 70 unchanged lines hidden (view full) --- 79 void collateStats(); 80 void print(std::ostream& out) const; 81 82 private: 83 // Private copy constructor and assignment operator 84 PerfectSwitch(const PerfectSwitch& obj); 85 PerfectSwitch& operator=(const PerfectSwitch& obj); 86 | 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; --- 70 unchanged lines hidden (view full) --- 79 void collateStats(); 80 void print(std::ostream& out) const; 81 82 private: 83 // Private copy constructor and assignment operator 84 PerfectSwitch(const PerfectSwitch& obj); 85 PerfectSwitch& operator=(const PerfectSwitch& obj); 86 |
87 void operateVnet(int vnet); 88 |
|
87 SwitchID m_switch_id; 88 89 // vector of queues from the components 90 std::vector<std::map<int, MessageBuffer*> > m_in; 91 std::vector<std::map<int, MessageBuffer*> > m_out; 92 93 std::vector<NetDest> m_routing_table; 94 std::vector<LinkOrder> m_link_order; --- 18 unchanged lines hidden --- | 89 SwitchID m_switch_id; 90 91 // vector of queues from the components 92 std::vector<std::map<int, MessageBuffer*> > m_in; 93 std::vector<std::map<int, MessageBuffer*> > m_out; 94 95 std::vector<NetDest> m_routing_table; 96 std::vector<LinkOrder> m_link_order; --- 18 unchanged lines hidden --- |