abstract_mem.cc (9080:753fc1c3618c) abstract_mem.cc (9098:7909b6cf7188)
1/*
2 * Copyright (c) 2010-2012 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

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

217 }
218 bwRead = bytesRead / simSeconds;
219 bwInstRead = bytesInstRead / simSeconds;
220 bwWrite = bytesWritten / simSeconds;
221 bwTotal = (bytesRead + bytesWritten) / simSeconds;
222}
223
224Range<Addr>
1/*
2 * Copyright (c) 2010-2012 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

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

217 }
218 bwRead = bytesRead / simSeconds;
219 bwInstRead = bytesInstRead / simSeconds;
220 bwWrite = bytesWritten / simSeconds;
221 bwTotal = (bytesRead + bytesWritten) / simSeconds;
222}
223
224Range<Addr>
225AbstractMemory::getAddrRange()
225AbstractMemory::getAddrRange() const
226{
227 return range;
228}
229
230// Add load-locked to tracking list. Should only be called if the
231// operation is a load and the LLSC flag is set.
232void
233AbstractMemory::trackLoadLocked(PacketPtr pkt)

--- 363 unchanged lines hidden ---
226{
227 return range;
228}
229
230// Add load-locked to tracking list. Should only be called if the
231// operation is a load and the LLSC flag is set.
232void
233AbstractMemory::trackLoadLocked(PacketPtr pkt)

--- 363 unchanged lines hidden ---