dram_ctrl.cc (10809:e3963342ead4) dram_ctrl.cc (10883:9294c4a60251)
1/*
2 * Copyright (c) 2010-2014 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

--- 629 unchanged lines hidden (view full) ---

638 for (int x = 0; x < pendingDelete.size(); x++)
639 delete pendingDelete[x];
640 pendingDelete.clear();
641
642 // This is where we enter from the outside world
643 DPRINTF(DRAM, "recvTimingReq: request %s addr %lld size %d\n",
644 pkt->cmdString(), pkt->getAddr(), pkt->getSize());
645
1/*
2 * Copyright (c) 2010-2014 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

--- 629 unchanged lines hidden (view full) ---

638 for (int x = 0; x < pendingDelete.size(); x++)
639 delete pendingDelete[x];
640 pendingDelete.clear();
641
642 // This is where we enter from the outside world
643 DPRINTF(DRAM, "recvTimingReq: request %s addr %lld size %d\n",
644 pkt->cmdString(), pkt->getAddr(), pkt->getSize());
645
646 // simply drop inhibited packets for now
647 if (pkt->memInhibitAsserted()) {
648 DPRINTF(DRAM, "Inhibited packet -- Dropping it now\n");
646 // simply drop inhibited packets and clean evictions
647 if (pkt->memInhibitAsserted() ||
648 pkt->cmd == MemCmd::CleanEvict) {
649 DPRINTF(DRAM, "Inhibited packet or clean evict -- Dropping it now\n");
649 pendingDelete.push_back(pkt);
650 return true;
651 }
652
653 // Calc avg gap between requests
654 if (prevArrival != 0) {
655 totGap += curTick() - prevArrival;
656 }

--- 1631 unchanged lines hidden ---
650 pendingDelete.push_back(pkt);
651 return true;
652 }
653
654 // Calc avg gap between requests
655 if (prevArrival != 0) {
656 totGap += curTick() - prevArrival;
657 }

--- 1631 unchanged lines hidden ---