aboutsummaryrefslogtreecommitdiff
path: root/include/ethosu_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ethosu_device.h')
-rw-r--r--include/ethosu_device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ethosu_device.h b/include/ethosu_device.h
index 9c78bfc..e08aa3d 100644
--- a/include/ethosu_device.h
+++ b/include/ethosu_device.h
@@ -55,8 +55,11 @@ enum ethosu_error_codes
struct ethosu_device
{
uintptr_t base_address;
- bool restore_pmu_config;
+ uint32_t pmcr;
uint64_t pmccntr;
+ uint32_t pmcnten;
+ uint32_t pmint;
+ uint32_t pmccntr_cfg;
uint32_t pmu_evcntr[ETHOSU_PMU_NCOUNTERS];
enum ethosu_pmu_event_type pmu_evtypr[ETHOSU_PMU_NCOUNTERS];
};