Switch.cc (6145:15cca6ab723a) | Switch.cc (6154:6bb54dcb940e) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32 * 33 * Description: See Switch.h 34 * 35 * $Id$ 36 * 37 */ 38 39 | 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 --- 23 unchanged lines hidden (view full) --- 32 * 33 * Description: See Switch.h 34 * 35 * $Id$ 36 * 37 */ 38 39 |
40#include "Switch.hh" 41#include "PerfectSwitch.hh" 42#include "MessageBuffer.hh" 43#include "Throttle.hh" 44#include "MessageSizeType.hh" 45#include "Network.hh" 46#include "Protocol.hh" | 40#include "mem/ruby/network/simple/Switch.hh" 41#include "mem/ruby/network/simple/PerfectSwitch.hh" 42#include "mem/ruby/buffers/MessageBuffer.hh" 43#include "mem/ruby/network/simple/Throttle.hh" 44#include "mem/protocol/MessageSizeType.hh" 45#include "mem/ruby/network/Network.hh" 46#include "mem/protocol/Protocol.hh" |
47 48Switch::Switch(SwitchID sid, SimpleNetwork* network_ptr) 49{ 50 m_perfect_switch_ptr = new PerfectSwitch(sid, network_ptr); 51 m_switch_id = sid; 52 m_throttles.setSize(0); 53} 54 --- 151 unchanged lines hidden --- | 47 48Switch::Switch(SwitchID sid, SimpleNetwork* network_ptr) 49{ 50 m_perfect_switch_ptr = new PerfectSwitch(sid, network_ptr); 51 m_switch_id = sid; 52 m_throttles.setSize(0); 53} 54 --- 151 unchanged lines hidden --- |