Deleted Added
sdiff udiff text old ( 6285:ce086eca1ede ) new ( 6876:a658c315512c )
full compact
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

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

68
69#ifndef SIMPLENETWORK_H
70#define SIMPLENETWORK_H
71
72#include "mem/ruby/common/Global.hh"
73#include "mem/gems_common/Vector.hh"
74#include "mem/ruby/network/Network.hh"
75#include "mem/ruby/system/NodeID.hh"
76#include "sim/sim_object.hh"
77#include "params/SimpleNetwork.hh"
78
79class NetDest;
80class MessageBuffer;
81class Throttle;
82class Switch;
83class Topology;
84
85class SimpleNetwork : public Network {
86public:
87 // Constructors
88 typedef SimpleNetworkParams Params;
89 SimpleNetwork(const Params *p);
90
91 // Destructor
92 ~SimpleNetwork();
93
94 void init();
95
96 // Public Methods
97 void printStats(ostream& out) const;
98 void clearStats();
99 void printConfig(ostream& out) const;
100
101 void reset();
102

--- 57 unchanged lines hidden ---