mshr.hh (7667:aa8fd8f6a495) | mshr.hh (7823:dac01f14f20f) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 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; --- 58 unchanged lines hidden (view full) --- 67 Counter order; //!< Global order (for memory consistency mgmt) 68 PacketPtr pkt; //!< Pending request packet. 69 Source source; //!< Did request come from cpu, memory, or prefetcher? 70 bool markedPending; //!< Did we mark upstream MSHR 71 //!< as downstreamPending? 72 73 Target(PacketPtr _pkt, Tick _readyTime, Counter _order, 74 Source _source, bool _markedPending) | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 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; --- 58 unchanged lines hidden (view full) --- 67 Counter order; //!< Global order (for memory consistency mgmt) 68 PacketPtr pkt; //!< Pending request packet. 69 Source source; //!< Did request come from cpu, memory, or prefetcher? 70 bool markedPending; //!< Did we mark upstream MSHR 71 //!< as downstreamPending? 72 73 Target(PacketPtr _pkt, Tick _readyTime, Counter _order, 74 Source _source, bool _markedPending) |
75 : recvTime(curTick), readyTime(_readyTime), order(_order), | 75 : recvTime(curTick()), readyTime(_readyTime), order(_order), |
76 pkt(_pkt), source(_source), markedPending(_markedPending) 77 {} 78 }; 79 80 class TargetList : public std::list<Target> { 81 /** Target list iterator. */ 82 typedef std::list<Target>::iterator Iterator; 83 typedef std::list<Target>::const_iterator ConstIterator; --- 200 unchanged lines hidden --- | 76 pkt(_pkt), source(_source), markedPending(_markedPending) 77 {} 78 }; 79 80 class TargetList : public std::list<Target> { 81 /** Target list iterator. */ 82 typedef std::list<Target>::iterator Iterator; 83 typedef std::list<Target>::const_iterator ConstIterator; --- 200 unchanged lines hidden --- |