Skip to content

Commit

Permalink
Initialize PmuCounter explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
AttilioProvenzano-ARM committed Apr 30, 2019
1 parent 4d9747b commit e662e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/arm/pmu/pmu_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PmuProfiler::PmuProfiler(const CpuCounterSet &enabled_counters) :
{
try
{
auto pmu_counter = pmu_counters_.emplace(counter, pmu_config->second);
auto pmu_counter = pmu_counters_.emplace(counter, PmuCounter{pmu_config->second});
pmu_counters_[counter].get_value<double>();

// PMU counter is created and can retrieve values
Expand Down

0 comments on commit e662e55

Please sign in to comment.