PerfectSwitch.hh (11049:dfb0aa3f0649) PerfectSwitch.hh (11092:a51ef09e3a78)
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;

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

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
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;

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

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
89 SwitchID m_switch_id;
89 const SwitchID m_switch_id;
90 Switch * const m_switch;
90
91 // vector of queues from the components
92 std::vector<std::vector<MessageBuffer*> > m_in;
93 std::vector<std::vector<MessageBuffer*> > m_out;
94
95 std::vector<NetDest> m_routing_table;
96 std::vector<LinkOrder> m_link_order;
97

--- 17 unchanged lines hidden ---
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
96 std::vector<NetDest> m_routing_table;
97 std::vector<LinkOrder> m_link_order;
98

--- 17 unchanged lines hidden ---