base.hh (13717:11e81e2a98bd) base.hh (13746:723109f11d56)
1/*
2 * Copyright (c) 2012-2013, 2015-2016, 2018 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

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

421 */
422 Addr regenerateBlkAddr(CacheBlk* blk);
423
424 /**
425 * Calculate access latency in ticks given a tag lookup latency, and
426 * whether access was a hit or miss.
427 *
428 * @param blk The cache block that was accessed.
1/*
2 * Copyright (c) 2012-2013, 2015-2016, 2018 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

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

421 */
422 Addr regenerateBlkAddr(CacheBlk* blk);
423
424 /**
425 * Calculate access latency in ticks given a tag lookup latency, and
426 * whether access was a hit or miss.
427 *
428 * @param blk The cache block that was accessed.
429 * @param delay The delay until the packet's metadata is present.
429 * @param lookup_lat Latency of the respective tag lookup.
430 * @return The number of ticks that pass due to a block access.
431 */
430 * @param lookup_lat Latency of the respective tag lookup.
431 * @return The number of ticks that pass due to a block access.
432 */
432 Cycles calculateAccessLatency(const CacheBlk* blk,
433 Cycles calculateAccessLatency(const CacheBlk* blk, const uint32_t delay,
433 const Cycles lookup_lat) const;
434
435 /**
436 * Does all the processing necessary to perform the provided request.
437 * @param pkt The memory request to perform.
438 * @param blk The cache block to be updated.
439 * @param lat The latency of the access.
440 * @param writebacks List for any writebacks that need to be performed.

--- 911 unchanged lines hidden ---
434 const Cycles lookup_lat) const;
435
436 /**
437 * Does all the processing necessary to perform the provided request.
438 * @param pkt The memory request to perform.
439 * @param blk The cache block to be updated.
440 * @param lat The latency of the access.
441 * @param writebacks List for any writebacks that need to be performed.

--- 911 unchanged lines hidden ---