pmu.cc (12973:78a7bbc23c29) | pmu.cc (12974:b840a646cfbd) |
---|---|
1/* 2 * Copyright (c) 2011-2014, 2017-2018 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 --- 53 unchanged lines hidden (view full) --- 62 reg_pmselr(0), reg_pminten(0), reg_pmovsr(0), 63 reg_pmceid0(0),reg_pmceid1(0), 64 clock_remainder(0), 65 maximumCounterCount(p->eventCounters), 66 cycleCounter(*this, maximumCounterCount), 67 cycleCounterEventId(p->cycleEventId), 68 swIncrementEvent(nullptr), 69 reg_pmcr_conf(0), | 1/* 2 * Copyright (c) 2011-2014, 2017-2018 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 --- 53 unchanged lines hidden (view full) --- 62 reg_pmselr(0), reg_pminten(0), reg_pmovsr(0), 63 reg_pmceid0(0),reg_pmceid1(0), 64 clock_remainder(0), 65 maximumCounterCount(p->eventCounters), 66 cycleCounter(*this, maximumCounterCount), 67 cycleCounterEventId(p->cycleEventId), 68 swIncrementEvent(nullptr), 69 reg_pmcr_conf(0), |
70 interrupt(p->interrupt) | 70 interrupt(p->interrupt->get()) |
71{ 72 DPRINTF(PMUVerbose, "Initializing the PMU.\n"); 73 74 if (maximumCounterCount > 31) { 75 fatal("The PMU can only accept 31 counters, %d counters requested.\n", 76 maximumCounterCount); 77 } 78 --- 710 unchanged lines hidden --- | 71{ 72 DPRINTF(PMUVerbose, "Initializing the PMU.\n"); 73 74 if (maximumCounterCount > 31) { 75 fatal("The PMU can only accept 31 counters, %d counters requested.\n", 76 maximumCounterCount); 77 } 78 --- 710 unchanged lines hidden --- |