dram_ctrl.cc (11190:0964165d1857) | dram_ctrl.cc (11192:4c28abcf8249) |
---|---|
1/* 2 * Copyright (c) 2010-2015 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 --- 576 unchanged lines hidden (view full) --- 585 586bool 587DRAMCtrl::recvTimingReq(PacketPtr pkt) 588{ 589 // This is where we enter from the outside world 590 DPRINTF(DRAM, "recvTimingReq: request %s addr %lld size %d\n", 591 pkt->cmdString(), pkt->getAddr(), pkt->getSize()); 592 | 1/* 2 * Copyright (c) 2010-2015 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 --- 576 unchanged lines hidden (view full) --- 585 586bool 587DRAMCtrl::recvTimingReq(PacketPtr pkt) 588{ 589 // This is where we enter from the outside world 590 DPRINTF(DRAM, "recvTimingReq: request %s addr %lld size %d\n", 591 pkt->cmdString(), pkt->getAddr(), pkt->getSize()); 592 |
593 // simply drop inhibited packets and clean evictions 594 if (pkt->memInhibitAsserted() || 595 pkt->cmd == MemCmd::CleanEvict) { 596 DPRINTF(DRAM, "Inhibited packet or clean evict -- Dropping it now\n"); | 593 // sink inhibited packets without further action 594 if (pkt->memInhibitAsserted()) { |
597 pendingDelete.reset(pkt); 598 return true; 599 } 600 601 // Calc avg gap between requests 602 if (prevArrival != 0) { 603 totGap += curTick() - prevArrival; 604 } --- 1642 unchanged lines hidden --- | 595 pendingDelete.reset(pkt); 596 return true; 597 } 598 599 // Calc avg gap between requests 600 if (prevArrival != 0) { 601 totGap += curTick() - prevArrival; 602 } --- 1642 unchanged lines hidden --- |