Home
last modified time | relevance | path

Searched refs:cpuset (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/cpu/
DCpuAvailabilityMonitoringConfig.java47 public final int cpuset; field in CpuAvailabilityMonitoringConfig
70 public Builder(int cpuset, int... thresholds) { in Builder() argument
71 mCpuset = cpuset; in Builder()
93 return "CpuAvailabilityMonitoringConfig{cpuset=" + toCpusetString(cpuset) + ", mThresholds=" in toString()
98 public static String toCpusetString(int cpuset) { in toCpusetString() argument
99 switch (cpuset) { in toCpusetString()
105 return "Invalid cpuset: " + cpuset; in toCpusetString()
117 this.cpuset = builder.mCpuset; in CpuAvailabilityMonitoringConfig()
DCpuAvailabilityInfo.java38 public final int cpuset; field in CpuAvailabilityInfo
59 return "CpuAvailabilityInfo{" + "cpuset = " + cpuset + ", dataTimestampUptimeMillis = " in toString()
75 return cpuset == info.cpuset && dataTimestampUptimeMillis == info.dataTimestampUptimeMillis in equals()
83 return Objects.hash(cpuset, dataTimestampUptimeMillis, latestAvgAvailabilityPercent, in hashCode()
87 CpuAvailabilityInfo(int cpuset, long dataTimestampUptimeMillis, in CpuAvailabilityInfo() argument
90 this.cpuset = Preconditions.checkArgumentInRange(cpuset, CPUSET_ALL, CPUSET_BACKGROUND, in CpuAvailabilityInfo()
DCpuMonitorService.java116 int cpuset = mAvailabilityCallbackInfosByCallbacksByCpuset.keyAt(i);
117 callbackInfo = mAvailabilityCallbackInfosByCallbacksByCpuset.delete(cpuset,
135 int cpuset = mAvailabilityCallbackInfosByCallbacksByCpuset.keyAt(i);
137 mAvailabilityCallbackInfosByCallbacksByCpuset.delete(cpuset, callback);
300 cpusetInfo.cpuset) == 0) { in checkClientThresholdsAndNotifyLocked()
311 if (callbackInfo.config.cpuset != cpusetInfo.cpuset) { in checkClientThresholdsAndNotifyLocked()
349 callbackInfo.config.cpuset); in newCallbackInfoLocked()
350 CpusetInfo cpusetInfo = mCpusetInfosByCpuset.get(callbackInfo.config.cpuset); in newCallbackInfoLocked()
354 mAvailabilityCallbackInfosByCallbacksByCpuset.add(callbackInfo.config.cpuset, in newCallbackInfoLocked()
521 public final int cpuset; field in CpuMonitorService.CpusetInfo
[all …]
/frameworks/av/apex/
Dmediatranscoding.rc13 # Restrict to little cores only with system-background cpuset.
14 writepid /dev/cpuset/system-background/tasks
Dmediaswcodec.rc9 writepid /dev/cpuset/foreground/tasks
Dmediatranscoding.32rc12 # Restrict to little cores only with system-background cpuset.
/frameworks/native/services/vr/performanced/
Dperformance_service.h61 std::string cpuset; member
Dperformance_service.cpp286 if (config.cpuset.empty()) { in OnSetSchedulerPolicy()
289 target_cpuset = config.cpuset; in OnSetSchedulerPolicy()
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp119 cpu_set_t cpuset; in helperThreadProc()
120 memset(&cpuset, 0, sizeof(cpuset)); in helperThreadProc()
121 cpuset.bits[idx / 64] |= 1ULL << (idx % 64); in helperThreadProc()
123 sizeof(cpuset), &cpuset); in helperThreadProc()