File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3030
3131#include < map>
3232#include < vector>
33+ #include < algorithm>
3334
3435/* * Instrument implementation for mali hw counters. */
3536class MaliCounter : public Instrument
@@ -61,11 +62,11 @@ class MaliCounter : public Instrument
6162 const uint32_t *get_counters (mali_userspace::MaliCounterBlockName block, int index = -1 ) const ;
6263 int find_counter_index_by_name (mali_userspace::MaliCounterBlockName block, const char *name);
6364
64- const std::vector<const std::pair<const char *, const char *>> _jm_counter_names{
65+ const std::vector<std::pair<const char *, const char *>> _jm_counter_names{
6566 {" GPU_ACTIVE" , " cycles" },
6667 {" JS0_JOBS" , " jobs" },
6768 {" JS1_JOBS" , " jobs" }};
68- const std::vector<const std::pair<const char *, const char *>> _mmu_counter_names{
69+ const std::vector<std::pair<const char *, const char *>> _mmu_counter_names{
6970 {" L2_READ_LOOKUP" , " cache lookups" },
7071 {" L2_EXT_READ" , " transactions" },
7172 {" L2_EXT_AR_STALL" , " stall cycles" },
You can’t perform that action at this time.
0 commit comments