traffic_gen.cc (10913:38dbdeea7f1f) | traffic_gen.cc (11222:c6461e8dfc0a) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 184 unchanged lines hidden (view full) --- 193 numPackets++; 194 if (!port.sendTimingReq(pkt)) { 195 retryPkt = pkt; 196 retryPktTick = curTick(); 197 } 198 } else { 199 DPRINTF(TrafficGen, "Suppressed packet %s 0x%x\n", 200 pkt->cmdString(), pkt->getAddr()); | 1/* 2 * Copyright (c) 2012-2013 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 --- 184 unchanged lines hidden (view full) --- 193 numPackets++; 194 if (!port.sendTimingReq(pkt)) { 195 retryPkt = pkt; 196 retryPktTick = curTick(); 197 } 198 } else { 199 DPRINTF(TrafficGen, "Suppressed packet %s 0x%x\n", 200 pkt->cmdString(), pkt->getAddr()); |
201 delete pkt->req; 202 delete pkt; 203 pkt = nullptr; |
|
201 } 202 } 203 204 // if we are waiting for a retry, do not schedule any further 205 // events, in the case of a transition or a successful send, go 206 // ahead and determine when the next update should take place 207 if (retryPkt == NULL) { 208 // schedule next update event based on either the next execute --- 322 unchanged lines hidden --- | 204 } 205 } 206 207 // if we are waiting for a retry, do not schedule any further 208 // events, in the case of a transition or a successful send, go 209 // ahead and determine when the next update should take place 210 if (retryPkt == NULL) { 211 // schedule next update event based on either the next execute --- 322 unchanged lines hidden --- |