Skip to content

Commit

Permalink
Merge pull request #14 from ARM-software/android-bugfix
Browse files Browse the repository at this point in the history
Initialize PmuCounter explicitly
  • Loading branch information
AttilioProvenzano-ARM authored Apr 30, 2019
2 parents 4d9747b + e662e55 commit 10d0f39
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

1 comment on commit 10d0f39

@mvsa06

This comment was marked as outdated.

Please sign in to comment.