base.hh (13746:723109f11d56) | base.hh (13749:b2486662285d) |
---|---|
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 --- 408 unchanged lines hidden (view full) --- 417 * block or not. 418 * 419 * @param blk The block to regenerate address. 420 * @return The block's address. 421 */ 422 Addr regenerateBlkAddr(CacheBlk* blk); 423 424 /** | 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 --- 408 unchanged lines hidden (view full) --- 417 * block or not. 418 * 419 * @param blk The block to regenerate address. 420 * @return The block's address. 421 */ 422 Addr regenerateBlkAddr(CacheBlk* blk); 423 424 /** |
425 * Calculate latency of accesses that only touch the tag array. 426 * @sa calculateAccessLatency 427 * 428 * @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 tag-only access. 431 */ 432 Cycles calculateTagOnlyLatency(const uint32_t delay, 433 const Cycles lookup_lat) const; 434 /** |
|
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. 430 * @param lookup_lat Latency of the respective tag lookup. 431 * @return The number of ticks that pass due to a block access. 432 */ --- 920 unchanged lines hidden --- | 435 * Calculate access latency in ticks given a tag lookup latency, and 436 * whether access was a hit or miss. 437 * 438 * @param blk The cache block that was accessed. 439 * @param delay The delay until the packet's metadata is present. 440 * @param lookup_lat Latency of the respective tag lookup. 441 * @return The number of ticks that pass due to a block access. 442 */ --- 920 unchanged lines hidden --- |