Network.cc (11064:386a5200e298) Network.cc (11108:6342ddf6d733)
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "base/misc.hh"
30#include "mem/ruby/network/BasicLink.hh"
31#include "mem/ruby/network/Network.hh"
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;

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

24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include "base/misc.hh"
30#include "mem/ruby/network/BasicLink.hh"
31#include "mem/ruby/network/Network.hh"
32#include "mem/ruby/system/System.hh"
32#include "mem/ruby/system/RubySystem.hh"
33
34uint32_t Network::m_virtual_networks;
35uint32_t Network::m_control_msg_size;
36uint32_t Network::m_data_msg_size;
37
38Network::Network(const Params *p)
39 : ClockedObject(p)
40{

--- 90 unchanged lines hidden ---
33
34uint32_t Network::m_virtual_networks;
35uint32_t Network::m_control_msg_size;
36uint32_t Network::m_data_msg_size;
37
38Network::Network(const Params *p)
39 : ClockedObject(p)
40{

--- 90 unchanged lines hidden ---