Network.hh (9302:c2e70a9bc340) | Network.hh (9465:4ae4f3f4b870) |
---|---|
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; --- 35 unchanged lines hidden (view full) --- 44#include <string> 45#include <vector> 46 47#include "mem/packet.hh" 48#include "mem/protocol/LinkDirection.hh" 49#include "mem/protocol/MessageSizeType.hh" 50#include "mem/ruby/common/TypeDefines.hh" 51#include "params/RubyNetwork.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; --- 35 unchanged lines hidden (view full) --- 44#include <string> 45#include <vector> 46 47#include "mem/packet.hh" 48#include "mem/protocol/LinkDirection.hh" 49#include "mem/protocol/MessageSizeType.hh" 50#include "mem/ruby/common/TypeDefines.hh" 51#include "params/RubyNetwork.hh" |
52#include "sim/sim_object.hh" | 52#include "sim/clocked_object.hh" |
53 54class NetDest; 55class MessageBuffer; 56class Throttle; 57class Topology; 58 | 53 54class NetDest; 55class MessageBuffer; 56class Throttle; 57class Topology; 58 |
59class Network : public SimObject | 59class Network : public ClockedObject |
60{ 61 public: 62 typedef RubyNetworkParams Params; 63 Network(const Params *p); 64 virtual ~Network() {} 65 66 virtual void init(); 67 --- 63 unchanged lines hidden --- | 60{ 61 public: 62 typedef RubyNetworkParams Params; 63 Network(const Params *p); 64 virtual ~Network() {} 65 66 virtual void init(); 67 --- 63 unchanged lines hidden --- |