Throttle.cc (8054:9138d38eccd7) | Throttle.cc (8229:78bf55f23338) |
---|---|
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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <cassert> 30 31#include "base/cprintf.hh" 32#include "mem/protocol/Protocol.hh" 33#include "mem/ruby/buffers/MessageBuffer.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; --- 17 unchanged lines hidden (view full) --- 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 */ 28 29#include <cassert> 30 31#include "base/cprintf.hh" 32#include "mem/protocol/Protocol.hh" 33#include "mem/ruby/buffers/MessageBuffer.hh" |
34#include "mem/ruby/network/Network.hh" | |
35#include "mem/ruby/network/simple/Throttle.hh" | 34#include "mem/ruby/network/simple/Throttle.hh" |
35#include "mem/ruby/network/Network.hh" |
|
36#include "mem/ruby/slicc_interface/NetworkMessage.hh" 37#include "mem/ruby/system/System.hh" 38 39using namespace std; 40 41const int HIGH_RANGE = 256; 42const int ADJUST_INTERVAL = 50000; 43const int MESSAGE_SIZE_MULTIPLIER = 1000; --- 227 unchanged lines hidden --- | 36#include "mem/ruby/slicc_interface/NetworkMessage.hh" 37#include "mem/ruby/system/System.hh" 38 39using namespace std; 40 41const int HIGH_RANGE = 256; 42const int ADJUST_INTERVAL = 50000; 43const int MESSAGE_SIZE_MULTIPLIER = 1000; --- 227 unchanged lines hidden --- |