write_queue_entry.hh (12727:56c23b54bcb1) | write_queue_entry.hh (12823:ba630bc7a36d) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 83 unchanged lines hidden (view full) --- 92 }; 93 94 class TargetList : public std::list<Target> { 95 96 public: 97 98 TargetList() {} 99 void add(PacketPtr pkt, Tick readyTime, Counter order); | 1/* 2 * Copyright (c) 2012-2013, 2015-2016 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 83 unchanged lines hidden (view full) --- 92 }; 93 94 class TargetList : public std::list<Target> { 95 96 public: 97 98 TargetList() {} 99 void add(PacketPtr pkt, Tick readyTime, Counter order); |
100 bool checkFunctional(PacketPtr pkt); | 100 bool trySatisfyFunctional(PacketPtr pkt); |
101 void print(std::ostream &os, int verbosity, 102 const std::string &prefix) const; 103 }; 104 105 /** A list of write queue entriess. */ 106 typedef std::list<WriteQueueEntry *> List; 107 /** WriteQueueEntry list iterator. */ 108 typedef List::iterator Iterator; --- 65 unchanged lines hidden (view full) --- 174 /** 175 * Pop first target. 176 */ 177 void popTarget() 178 { 179 targets.pop_front(); 180 } 181 | 101 void print(std::ostream &os, int verbosity, 102 const std::string &prefix) const; 103 }; 104 105 /** A list of write queue entriess. */ 106 typedef std::list<WriteQueueEntry *> List; 107 /** WriteQueueEntry list iterator. */ 108 typedef List::iterator Iterator; --- 65 unchanged lines hidden (view full) --- 174 /** 175 * Pop first target. 176 */ 177 void popTarget() 178 { 179 targets.pop_front(); 180 } 181 |
182 bool checkFunctional(PacketPtr pkt); | 182 bool trySatisfyFunctional(PacketPtr pkt); |
183 184 /** 185 * Prints the contents of this MSHR for debugging. 186 */ 187 void print(std::ostream &os, 188 int verbosity = 0, 189 const std::string &prefix = "") const; 190 /** 191 * A no-args wrapper of print(std::ostream...) meant to be 192 * invoked from DPRINTFs avoiding string overheads in fast mode 193 * 194 * @return string with mshr fields 195 */ 196 std::string print() const; 197}; 198 199#endif // __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__ | 183 184 /** 185 * Prints the contents of this MSHR for debugging. 186 */ 187 void print(std::ostream &os, 188 int verbosity = 0, 189 const std::string &prefix = "") const; 190 /** 191 * A no-args wrapper of print(std::ostream...) meant to be 192 * invoked from DPRINTFs avoiding string overheads in fast mode 193 * 194 * @return string with mshr fields 195 */ 196 std::string print() const; 197}; 198 199#endif // __MEM_CACHE_WRITE_QUEUE_ENTRY_HH__ |