Deleted Added
sdiff udiff text old ( 11893:3033b3e6a32a ) new ( 12513:4dfc54394b5a )
full compact
1/*
2 * Copyright (c) 2013,2016 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

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

56
57BaseTags::BaseTags(const Params *p)
58 : ClockedObject(p), blkSize(p->block_size), blkMask(blkSize - 1),
59 size(p->size),
60 lookupLatency(p->tag_latency),
61 accessLatency(p->sequential_access ?
62 p->tag_latency + p->data_latency :
63 std::max(p->tag_latency, p->data_latency)),
64 cache(nullptr), warmupBound(0),
65 warmedUp(false), numBlocks(0)
66{
67}
68
69void
70BaseTags::setCache(BaseCache *_cache)
71{
72 assert(!cache);

--- 100 unchanged lines hidden ---