PerfectSwitch.hh (11092:a51ef09e3a78) | PerfectSwitch.hh (11093:8049ffff6d68) |
---|---|
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; --- 71 unchanged lines hidden (view full) --- 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); | 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; --- 71 unchanged lines hidden (view full) --- 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 void operateMessageBuffer(MessageBuffer *b, int incoming, int vnet); |
|
88 89 const SwitchID m_switch_id; 90 Switch * const m_switch; 91 92 // vector of queues from the components 93 std::vector<std::vector<MessageBuffer*> > m_in; 94 std::vector<std::vector<MessageBuffer*> > m_out; 95 --- 20 unchanged lines hidden --- | 89 90 const SwitchID m_switch_id; 91 Switch * const m_switch; 92 93 // vector of queues from the components 94 std::vector<std::vector<MessageBuffer*> > m_in; 95 std::vector<std::vector<MessageBuffer*> > m_out; 96 --- 20 unchanged lines hidden --- |