Home
last modified time | relevance | path

Searched refs:cpu_info (Results 1 – 5 of 5) sorted by relevance

/system/extras/cpustats/
Dcpustats.c44 struct cpu_info { struct
56 static struct cpu_info old_total_cpu, new_total_cpu, *old_cpus, *new_cpus; argument
62 static long unsigned get_cpu_total_time(struct cpu_info* cpu);
65 static void print_cpu_stats(char* label, struct cpu_info* new_cpu, struct cpu_info* old_cpu,
67 static void print_freq_stats(struct cpu_info* new_cpu, struct cpu_info* old_cpu);
75 struct cpu_info *tmp_cpus, tmp_total_cpu; in main()
114 old_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main()
116 new_cpus = malloc(sizeof(struct cpu_info) * cpu_count); in main()
296 static long unsigned get_cpu_total_time(struct cpu_info* cpu) { in get_cpu_total_time()
322 static void print_cpu_stats(char* label, struct cpu_info* new_cpu, struct cpu_info* old_cpu, in print_cpu_stats()
[all …]
/system/extras/simpleperf/
DETMRecorder.cpp151 ETMPerCpu& cpu_info = etm_info_[cpu]; in ReadEtmInfo() local
152 bool success = ReadValueInEtmDir(name + "/trcidr/trcidr0", &cpu_info.trcidr0) && in ReadEtmInfo()
153 ReadValueInEtmDir(name + "/trcidr/trcidr1", &cpu_info.trcidr1) && in ReadEtmInfo()
154 ReadValueInEtmDir(name + "/trcidr/trcidr2", &cpu_info.trcidr2) && in ReadEtmInfo()
155 ReadValueInEtmDir(name + "/trcidr/trcidr4", &cpu_info.trcidr4) && in ReadEtmInfo()
156 ReadValueInEtmDir(name + "/trcidr/trcidr8", &cpu_info.trcidr8) && in ReadEtmInfo()
157 ReadValueInEtmDir(name + "/mgmt/trcauthstatus", &cpu_info.trcauthstatus); in ReadEtmInfo()
Denvironment_test.cpp50 std::string cpu_info = in TEST() local
54 GetHardwareFromCpuInfo(cpu_info)); in TEST()
Denvironment.h130 std::string GetHardwareFromCpuInfo(const std::string& cpu_info);
Denvironment.cpp909 std::string GetHardwareFromCpuInfo(const std::string& cpu_info) { in GetHardwareFromCpuInfo() argument
910 for (auto& line : android::base::Split(cpu_info, "\n")) { in GetHardwareFromCpuInfo()