Deleted Added
sdiff udiff text old ( 12636:9859213e2662 ) new ( 12637:bfc3cb9c7e6c )
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

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

47 */
48
49#include "mem/cache/tags/base.hh"
50
51#include "cpu/smt.hh" //maxThreadsPerCPU
52#include "mem/cache/base.hh"
53#include "sim/sim_exit.hh"
54
55BaseTags::BaseTags(const Params *p)
56 : ClockedObject(p), blkSize(p->block_size), blkMask(blkSize - 1),
57 size(p->size),
58 lookupLatency(p->tag_latency),
59 accessLatency(p->sequential_access ?
60 p->tag_latency + p->data_latency :
61 std::max(p->tag_latency, p->data_latency)),
62 cache(nullptr),

--- 158 unchanged lines hidden ---