1/*
2 * Copyright (c) 2013 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated
--- 39 unchanged lines hidden (view full) ---
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), size(p->size),
59 lookupLatency(p->tag_latency),
60 accessLatency(p->sequential_access ?
61 p->tag_latency + p->data_latency :
62 std::max(p->tag_latency, p->data_latency)),
63 cache(nullptr), warmupBound(0),
64 warmedUp(false), numBlocks(0)
65{
66}
--- 105 unchanged lines hidden ---
2 * Copyright (c) 2013 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated
--- 39 unchanged lines hidden (view full) ---
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), size(p->size),
59 lookupLatency(p->tag_latency),
60 accessLatency(p->sequential_access ?
61 p->tag_latency + p->data_latency :
62 std::max(p->tag_latency, p->data_latency)),
63 cache(nullptr), warmupBound(0),
64 warmedUp(false), numBlocks(0)
65{
66}
--- 105 unchanged lines hidden ---