Topology.hh (11096:efaacec43726) | Topology.hh (11320:42ecb523c64a) |
---|---|
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; --- 39 unchanged lines hidden (view full) --- 48#include "mem/ruby/common/TypeDefines.hh" 49#include "mem/ruby/network/BasicLink.hh" 50 51class NetDest; 52class Network; 53 54typedef std::vector<std::vector<int> > Matrix; 55 | 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; --- 39 unchanged lines hidden (view full) --- 48#include "mem/ruby/common/TypeDefines.hh" 49#include "mem/ruby/network/BasicLink.hh" 50 51class NetDest; 52class Network; 53 54typedef std::vector<std::vector<int> > Matrix; 55 |
56struct LinkEntry | 56struct LinkEntry |
57{ 58 BasicLink *link; 59 LinkDirection direction; 60}; 61 62typedef std::map<std::pair<SwitchID, SwitchID>, LinkEntry> LinkMap; 63 64class Topology --- 46 unchanged lines hidden --- | 57{ 58 BasicLink *link; 59 LinkDirection direction; 60}; 61 62typedef std::map<std::pair<SwitchID, SwitchID>, LinkEntry> LinkMap; 63 64class Topology --- 46 unchanged lines hidden --- |