base.cc (12636:9859213e2662) base.cc (12637:bfc3cb9c7e6c)
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
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
55using namespace std;
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),

--- 158 unchanged lines hidden ---
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 ---