mshr.hh (13349:20890038e8a0) | mshr.hh (13351:1d456a63bfbc) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2015-2016, 2018 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 --- 500 unchanged lines hidden (view full) --- 509 * list up until the first target that is a cache maintenance 510 * operation or needs a writable copy of the block 511 */ 512 void promoteWritable(); 513 514 bool trySatisfyFunctional(PacketPtr pkt); 515 516 /** | 1/* 2 * Copyright (c) 2012-2013, 2015-2016, 2018 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 --- 500 unchanged lines hidden (view full) --- 509 * list up until the first target that is a cache maintenance 510 * operation or needs a writable copy of the block 511 */ 512 void promoteWritable(); 513 514 bool trySatisfyFunctional(PacketPtr pkt); 515 516 /** |
517 * Adds a delay relative to the current tick to the current MSHR 518 * @param delay_ticks the desired delay in ticks 519 */ 520 void delay(Tick delay_ticks) 521 { 522 assert(readyTime <= curTick()); 523 readyTime = curTick() + delay_ticks; 524 } 525 526 /** |
|
517 * Prints the contents of this MSHR for debugging. 518 */ 519 void print(std::ostream &os, 520 int verbosity = 0, 521 const std::string &prefix = "") const; 522 /** 523 * A no-args wrapper of print(std::ostream...) meant to be 524 * invoked from DPRINTFs avoiding string overheads in fast mode 525 * 526 * @return string with mshr fields + [deferred]targets 527 */ 528 std::string print() const; 529}; 530 531#endif // __MEM_CACHE_MSHR_HH__ | 527 * Prints the contents of this MSHR for debugging. 528 */ 529 void print(std::ostream &os, 530 int verbosity = 0, 531 const std::string &prefix = "") const; 532 /** 533 * A no-args wrapper of print(std::ostream...) meant to be 534 * invoked from DPRINTFs avoiding string overheads in fast mode 535 * 536 * @return string with mshr fields + [deferred]targets 537 */ 538 std::string print() const; 539}; 540 541#endif // __MEM_CACHE_MSHR_HH__ |