AbstractController.cc (13892:0182a0601f66) AbstractController.cc (13974:af47a3ae0f6b)
1/*
1/*
2 * Copyright (c) 2017 ARM Limited
2 * Copyright (c) 2017,2019 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
51AbstractController::AbstractController(const Params *p)
52 : ClockedObject(p), Consumer(this), m_version(p->version),
53 m_clusterID(p->cluster_id),
54 m_masterId(p->system->getMasterId(this)), m_is_blocking(false),
55 m_number_of_TBEs(p->number_of_TBEs),
56 m_transitions_per_cycle(p->transitions_per_cycle),
57 m_buffer_size(p->buffer_size), m_recycle_latency(p->recycle_latency),
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
51AbstractController::AbstractController(const Params *p)
52 : ClockedObject(p), Consumer(this), m_version(p->version),
53 m_clusterID(p->cluster_id),
54 m_masterId(p->system->getMasterId(this)), m_is_blocking(false),
55 m_number_of_TBEs(p->number_of_TBEs),
56 m_transitions_per_cycle(p->transitions_per_cycle),
57 m_buffer_size(p->buffer_size), m_recycle_latency(p->recycle_latency),
58 m_mandatory_queue_latency(p->mandatory_queue_latency),
58 memoryPort(csprintf("%s.memory", name()), this, ""),
59 addrRanges(p->addr_ranges.begin(), p->addr_ranges.end())
60{
61 if (m_version == 0) {
62 // Combine the statistics from all controllers
63 // of this particular type.
64 Stats::registerDumpCallback(new StatsCallback(this));
65 }

--- 322 unchanged lines hidden ---
59 memoryPort(csprintf("%s.memory", name()), this, ""),
60 addrRanges(p->addr_ranges.begin(), p->addr_ranges.end())
61{
62 if (m_version == 0) {
63 // Combine the statistics from all controllers
64 // of this particular type.
65 Stats::registerDumpCallback(new StatsCallback(this));
66 }

--- 322 unchanged lines hidden ---