PerfectSwitch.cc (6891:77451885bb00) PerfectSwitch.cc (7002:48a19d52d939)
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

290
291 // Dequeue msg
292 m_in[incoming][vnet]->pop();
293 }
294 }
295 }
296}
297
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

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

290
291 // Dequeue msg
292 m_in[incoming][vnet]->pop();
293 }
294 }
295 }
296}
297
298void PerfectSwitch::printStats(ostream& out) const
298void PerfectSwitch::printStats(std::ostream& out) const
299{
300 out << "PerfectSwitch printStats" << endl;
301}
302
303void PerfectSwitch::clearStats()
304{
305}
306
299{
300 out << "PerfectSwitch printStats" << endl;
301}
302
303void PerfectSwitch::clearStats()
304{
305}
306
307void PerfectSwitch::printConfig(ostream& out) const
307void PerfectSwitch::printConfig(std::ostream& out) const
308{
309}
310
308{
309}
310
311void PerfectSwitch::print(ostream& out) const
311void PerfectSwitch::print(std::ostream& out) const
312{
313 out << "[PerfectSwitch " << m_switch_id << "]";
314}
315
312{
313 out << "[PerfectSwitch " << m_switch_id << "]";
314}
315