Home
last modified time | relevance | path

Searched defs:cpu (Results 1 – 25 of 56) sorted by relevance

123

/aosp12/bionic/libc/include/
H A Dsched.h80 #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 DbinderAddInts.cpp166 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 Dcputimeinstate.cpp207 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 Dsched_getcpu.cpp35 unsigned cpu; in sched_getcpu() local
H A Dsysinfo.cpp42 unsigned cpu; in __matches_cpuN() local
/aosp12/bionic/libc/private/
H A Dget_cpu_count_from_string.h38 int cpu = static_cast<int>(strtol(s, const_cast<char**>(&s), 10)); in GetCpuCountFromString() local
/aosp12/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_cpu.h23 __u32 cpu; member
/aosp12/system/extras/boottime_tools/bootio/
H A Dbootio_collector.cpp40 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 Dprotos.proto21 repeated CpuData cpu = 2; field
/aosp12/system/extras/cpustats/
H A Dcpustats.c219 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 Dcpu_hotplug_test.cpp93 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 DETMRecorder.cpp49 static int GetTraceId(int cpu) { in GetTraceId()
145 int cpu; in ReadEtmInfo() local
H A Dcmd_stat_impl.h81 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 Devent_fd.cpp43 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 Devent_fd.h113 int cpu) in EventFd()
/aosp12/frameworks/base/core/proto/android/os/
H A Dcpuinfo.proto59 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 DPowerProfileTest.java72 final CpuProfile cpu = (CpuProfile)profile.getComponent(Component.CPU); in testReadGood() local
/aosp12/hardware/qcom/sm8150/thermal/
H A Dthermal_common.c71 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 Dthermal_common.c71 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 DProfiler.cpp42 int cpu, int group_fd, unsigned long flags) { in perf_event_open()
H A Dicache_main.cpp64 size_t cpu = std::stoi(arg); in handleCommandLineArgments() local
/aosp12/bionic/tests/
H A Dsys_ptrace_test.cpp206 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 DScheduleTest.cpp65 int cpu = sched_getcpu(); in send() local
/aosp12/frameworks/base/tests/JankBench/app/src/main/jni/
H A DWorkerPool.cpp158 int cpu = sysconf(_SC_NPROCESSORS_CONF); in init() local
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DDSULoader.java271 String cpu = SystemProperties.get(PROPERTY_KEY_CPU); in getDeviceCpu() local
293 String cpu = getDeviceCpu(); in isSupported() local

123