PerfectSwitch.cc (6145:15cca6ab723a) | PerfectSwitch.cc (6154:6bb54dcb940e) |
---|---|
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 --- 23 unchanged lines hidden (view full) --- 32 * 33 * Description: See PerfectSwitch.h 34 * 35 * $Id$ 36 * 37 */ 38 39 | 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 --- 23 unchanged lines hidden (view full) --- 32 * 33 * Description: See PerfectSwitch.h 34 * 35 * $Id$ 36 * 37 */ 38 39 |
40#include "PerfectSwitch.hh" 41#include "NetworkMessage.hh" 42#include "Profiler.hh" 43#include "System.hh" 44#include "SimpleNetwork.hh" 45#include "util.hh" 46#include "MessageBuffer.hh" 47#include "Protocol.hh" | 40#include "mem/ruby/network/simple/PerfectSwitch.hh" 41#include "mem/ruby/slicc_interface/NetworkMessage.hh" 42#include "mem/ruby/profiler/Profiler.hh" 43#include "mem/ruby/system/System.hh" 44#include "mem/ruby/network/simple/SimpleNetwork.hh" 45#include "mem/gems_common/util.hh" 46#include "mem/ruby/buffers/MessageBuffer.hh" 47#include "mem/protocol/Protocol.hh" |
48 49const int PRIORITY_SWITCH_LIMIT = 128; 50 51// Operator for helper class 52bool operator<(const LinkOrder& l1, const LinkOrder& l2) { 53 return (l1.m_value < l2.m_value); 54} 55 --- 264 unchanged lines hidden --- | 48 49const int PRIORITY_SWITCH_LIMIT = 128; 50 51// Operator for helper class 52bool operator<(const LinkOrder& l1, const LinkOrder& l2) { 53 return (l1.m_value < l2.m_value); 54} 55 --- 264 unchanged lines hidden --- |