dramsim2.hh (11169:44b5c183c3cd) | dramsim2.hh (11190:0964165d1857) |
---|---|
1/* 2 * Copyright (c) 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 --- 146 unchanged lines hidden (view full) --- 155 */ 156 void tick(); 157 158 /** 159 * Event to schedule clock ticks 160 */ 161 EventWrapper<DRAMSim2, &DRAMSim2::tick> tickEvent; 162 | 1/* 2 * Copyright (c) 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 --- 146 unchanged lines hidden (view full) --- 155 */ 156 void tick(); 157 158 /** 159 * Event to schedule clock ticks 160 */ 161 EventWrapper<DRAMSim2, &DRAMSim2::tick> tickEvent; 162 |
163 /** @todo this is a temporary workaround until the 4-phase code is 164 * committed. upstream caches needs this packet until true is returned, so 165 * hold onto it for deletion until a subsequent call | 163 /** 164 * Upstream caches need this packet until true is returned, so 165 * hold it for deletion until a subsequent call |
166 */ | 166 */ |
167 std::vector<PacketPtr> pendingDelete; | 167 std::unique_ptr<Packet> pendingDelete; |
168 169 public: 170 171 typedef DRAMSim2Params Params; 172 DRAMSim2(const Params *p); 173 174 /** 175 * Read completion callback. --- 34 unchanged lines hidden --- | 168 169 public: 170 171 typedef DRAMSim2Params Params; 172 DRAMSim2(const Params *p); 173 174 /** 175 * Read completion callback. --- 34 unchanged lines hidden --- |