/aosp12/bionic/libc/include/ |
H A D | sched.h | 80 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) argument 81 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) argument 82 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) argument 105 #define CPU_SET_S(cpu, setsize, set) \ argument 112 #define CPU_CLR_S(cpu, setsize, set) \ argument 119 #define CPU_ISSET_S(cpu, setsize, set) \ argument
|
/aosp12/system/extras/tests/binder/benchmarks/ |
H A D | binderAddInts.cpp | 166 AddIntsService::AddIntsService(int cpu): cpu_(cpu) { in AddIntsService() 175 int cpu; in onTransact() local 204 static void bindCPU(unsigned int cpu) in bindCPU() 255 int cpu = strtoul(optarg, &chptr, 10); in main() local
|
/aosp12/frameworks/native/libs/cputimeinstate/ |
H A D | cputimeinstate.cpp | 207 for (auto &cpu : gPolicyCpus[i]) { in startTrackingUidTimes() local 279 for (const auto &cpu : gPolicyCpus[policyIdx]) { in getTotalCpuFreqTimes() local 318 for (const auto &cpu : gPolicyCpus[j]) { in getUidCpuFreqTimes() local 384 for (const auto &cpu : gPolicyCpus[i]) { in getUidsUpdatedCpuFreqTimes() local 427 for (uint32_t cpu = 0; cpu < gNCpus; ++cpu) { in getUidConcurrentTimes() local 438 for (const auto &cpu : gPolicyCpus[policy]) { in getUidConcurrentTimes() local 496 for (uint32_t cpu = 0; cpu < gNCpus; ++cpu) { in getUidsUpdatedConcurrentTimes() local 507 for (const auto &cpu : gPolicyCpus[policy]) { in getUidsUpdatedConcurrentTimes() local 641 for (const auto &cpu : gPolicyCpus[j]) { in getAggregatedTaskCpuFreqTimes() local
|
/aosp12/bionic/libc/bionic/ |
H A D | sched_getcpu.cpp | 35 unsigned cpu; in sched_getcpu() local
|
H A D | sysinfo.cpp | 42 unsigned cpu; in __matches_cpuN() local
|
/aosp12/bionic/libc/private/ |
H A D | get_cpu_count_from_string.h | 38 int cpu = static_cast<int>(strtol(s, const_cast<char**>(&s), 10)); in GetCpuCountFromString() local
|
/aosp12/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_cpu.h | 23 __u32 cpu; member
|
/aosp12/system/extras/boottime_tools/bootio/ |
H A D | bootio_collector.cpp | 40 void PopulateCpu(CpuData& cpu) { in PopulateCpu() 203 uint64_t SumCpuValues(CpuData& cpu) { in SumCpuValues() 221 float cpu; member 336 CpuData *cpu = data->add_cpu(); in StartDataCollection() local
|
H A D | protos.proto | 21 repeated CpuData cpu = 2; field
|
/aosp12/system/extras/cpustats/ |
H A D | cpustats.c | 219 static int get_freq_scales_count(int cpu) { in get_freq_scales_count() 270 static void read_freq_stats(int cpu) { in read_freq_stats() 296 static long unsigned get_cpu_total_time(struct cpu_info* cpu) { in get_cpu_total_time()
|
/aosp12/system/extras/simpleperf/ |
H A D | cpu_hotplug_test.cpp | 93 static bool IsCpuOnline(int cpu, bool* has_error) { in IsCpuOnline() 106 static bool SetCpuOnline(int cpu, bool online) { in SetCpuOnline() 158 for (int cpu = 1; cpu < GetCpuCount(); ++cpu) { in CpuOnlineRestorer() local 183 for (int cpu = 1; cpu < GetCpuCount(); ++cpu) { in FindAHotpluggableCpu() local
|
H A D | ETMRecorder.cpp | 49 static int GetTraceId(int cpu) { in GetTraceId() 145 int cpu; in ReadEtmInfo() local
|
H A D | cmd_stat_impl.h | 81 int cpu; // -1 represents all cpus member 232 int cpu = report_per_core_ ? static_cast<int>(pair.first >> 32) : -1; in AddCountersForOneEventType() local 248 void AddSummary(const CountersInfo& info, pid_t tid, int cpu, const CounterSum& sum) { in AddSummary()
|
H A D | event_fd.cpp | 43 static int perf_event_open(const perf_event_attr& attr, pid_t pid, int cpu, int group_fd, in perf_event_open() 48 std::unique_ptr<EventFd> EventFd::OpenEventFile(const perf_event_attr& attr, pid_t tid, int cpu, in OpenEventFile()
|
H A D | event_fd.h | 113 int cpu) in EventFd()
|
/aosp12/frameworks/base/core/proto/android/os/ |
H A D | cpuinfo.proto | 59 optional int32 cpu = 1; // 400% cpu indicates 4 cores field 80 optional float cpu = 6; // precentage of cpu usage of the task field
|
/aosp12/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
H A D | PowerProfileTest.java | 72 final CpuProfile cpu = (CpuProfile)profile.getComponent(Component.CPU); in testReadGood() local
|
/aosp12/hardware/qcom/sm8150/thermal/ |
H A D | thermal_common.c | 71 unsigned int cpu = 0; in get_cpu_label() local 268 unsigned int idx = 0, cpu = 0; in thermal_zone_init() local
|
/aosp12/hardware/qcom/sdm845/thermal/ |
H A D | thermal_common.c | 71 unsigned int cpu = 0; in get_cpu_label() local 268 unsigned int idx = 0, cpu = 0; in thermal_zone_init() local
|
/aosp12/system/extras/tests/icachetest/ |
H A D | Profiler.cpp | 42 int cpu, int group_fd, unsigned long flags) { in perf_event_open()
|
H A D | icache_main.cpp | 64 size_t cpu = std::stoi(arg); in handleCommandLineArgments() local
|
/aosp12/bionic/tests/ |
H A D | sys_ptrace_test.cpp | 206 static void watchpoint_stress_child(unsigned cpu, T& data) { in watchpoint_stress_child() 220 static void run_watchpoint_stress(size_t cpu) { in run_watchpoint_stress() 232 for (size_t cpu = 0; cpu < CPU_SETSIZE; ++cpu) { in TEST() local
|
/aosp12/hardware/interfaces/tests/libhwbinder/1.0/default/ |
H A D | ScheduleTest.cpp | 65 int cpu = sched_getcpu(); in send() local
|
/aosp12/frameworks/base/tests/JankBench/app/src/main/jni/ |
H A D | WorkerPool.cpp | 158 int cpu = sysconf(_SC_NPROCESSORS_CONF); in init() local
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/ |
H A D | DSULoader.java | 271 String cpu = SystemProperties.get(PROPERTY_KEY_CPU); in getDeviceCpu() local 293 String cpu = getDeviceCpu(); in isSupported() local
|