BasicLink.cc (8257:7226aebb77b4) BasicLink.cc (8258:7c377f5162f8)
1/*
2 * Copyright (c) 2011 Advanced Micro Devices, Inc.
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;

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

27 */
28
29#include "mem/ruby/network/BasicLink.hh"
30
31BasicLink::BasicLink(const Params *p)
32 : SimObject(p)
33{
34 m_latency = p->latency;
1/*
2 * Copyright (c) 2011 Advanced Micro Devices, Inc.
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;

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

27 */
28
29#include "mem/ruby/network/BasicLink.hh"
30
31BasicLink::BasicLink(const Params *p)
32 : SimObject(p)
33{
34 m_latency = p->latency;
35 m_bw_multiplier = p->bw_multiplier;
35 m_bandwidth_factor = p->bandwidth_factor;
36 m_weight = p->weight;
37}
38
39void
40BasicLink::init()
41{
42}
43

--- 37 unchanged lines hidden ---
36 m_weight = p->weight;
37}
38
39void
40BasicLink::init()
41{
42}
43

--- 37 unchanged lines hidden ---