ARM: fix performance counters allocation
Change-Id: Ie6c8beacf268462064f59b063d9c7b635c906dc4
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#endif /*POSTK_DEBUG_TEMP_FIX_29*/
|
||||
|
||||
#include <mc_perf_event.h>
|
||||
#include <process.h>
|
||||
|
||||
#define PERFCTR_USER_MODE 0x01
|
||||
#define PERFCTR_KERNEL_MODE 0x02
|
||||
@ -73,6 +74,7 @@ int ihk_mc_perfctr_read_mask(unsigned long counter_mask, unsigned long *value);
|
||||
unsigned long ihk_mc_perfctr_read(int counter);
|
||||
unsigned long ihk_mc_perfctr_read_msr(int counter);
|
||||
int ihk_mc_perfctr_alloc_counter(unsigned int *type, unsigned long *config, unsigned long pmc_status);
|
||||
int ihk_mc_perfctr_alloc(struct thread *thread, int cpu_cycles);
|
||||
int ihk_mc_perf_counter_mask_check(unsigned long counter_mask);
|
||||
int ihk_mc_perf_get_num_counters(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user