PerfectSwitch.cc (7054:7d6862b80049) PerfectSwitch.cc (7055:4e24742201d7)
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;

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

30#include "mem/protocol/Protocol.hh"
31#include "mem/ruby/buffers/MessageBuffer.hh"
32#include "mem/ruby/network/simple/PerfectSwitch.hh"
33#include "mem/ruby/network/simple/SimpleNetwork.hh"
34#include "mem/ruby/profiler/Profiler.hh"
35#include "mem/ruby/slicc_interface/NetworkMessage.hh"
36#include "mem/ruby/system/System.hh"
37
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;

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

30#include "mem/protocol/Protocol.hh"
31#include "mem/ruby/buffers/MessageBuffer.hh"
32#include "mem/ruby/network/simple/PerfectSwitch.hh"
33#include "mem/ruby/network/simple/SimpleNetwork.hh"
34#include "mem/ruby/profiler/Profiler.hh"
35#include "mem/ruby/slicc_interface/NetworkMessage.hh"
36#include "mem/ruby/system/System.hh"
37
38using namespace std;
39
38const int PRIORITY_SWITCH_LIMIT = 128;
39
40// Operator for helper class
41bool
42operator<(const LinkOrder& l1, const LinkOrder& l2)
43{
44 return (l1.m_value < l2.m_value);
45}

--- 289 unchanged lines hidden ---
40const int PRIORITY_SWITCH_LIMIT = 128;
41
42// Operator for helper class
43bool
44operator<(const LinkOrder& l1, const LinkOrder& l2)
45{
46 return (l1.m_value < l2.m_value);
47}

--- 289 unchanged lines hidden ---