diff options
Diffstat (limited to 'simpleperf/environment.h')
-rw-r--r-- | simpleperf/environment.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/simpleperf/environment.h b/simpleperf/environment.h index a69abaa9..b9447fec 100644 --- a/simpleperf/environment.h +++ b/simpleperf/environment.h @@ -152,6 +152,14 @@ static inline int gettid() { } #endif +struct ARMCpuModel { + uint32_t implementer = 0; + uint32_t partnum = 0; + std::vector<int> cpus; +}; + +std::vector<ARMCpuModel> GetARMCpuModels(); + #endif // defined(__linux__) std::optional<uint32_t> GetProcessUid(pid_t pid); |