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 --- 28 unchanged lines hidden (view full) --- 37 * put in the output port of the PerfectSwitch (a 38 * intermediateBuffers) first, then go through the Throttle. 39 * 40 */ 41 42#ifndef THROTTLE_H 43#define THROTTLE_H 44 |
45#include "mem/ruby/common/Global.hh" 46#include "mem/gems_common/Vector.hh" 47#include "mem/ruby/common/Consumer.hh" 48#include "mem/ruby/system/NodeID.hh" 49#include "mem/ruby/config/RubyConfig.hh" |
50 51class MessageBuffer; 52 53class Throttle : public Consumer { 54public: 55 // Constructors 56 Throttle(int sID, NodeID node, int link_latency, int link_bandwidth_multiplier); 57 Throttle(NodeID node, int link_latency, int link_bandwidth_multiplier); --- 67 unchanged lines hidden --- |