/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpufreq.c | 56 int cpu_index; member 69 find_cfi_by_index(int cpu_index, int mode) in find_cfi_by_index() argument 74 if (cfi->cpu_index == cpu_index) in find_cfi_by_index() 125 hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, in hud_cpufreq_graph_install() argument 135 cfi = find_cfi_by_index(cpu_index, mode); in hud_cpufreq_graph_install() 167 add_object(const char *name, const char *fn, int objmode, int cpu_index) in add_object() argument 174 cfi->cpu_index = cpu_index; in add_object() 191 int cpu_index; in hud_get_num_cpufreq() local 220 if (sscanf(dp->d_name, "cpu%d\n", &cpu_index) != 1) in hud_get_num_cpufreq() 234 add_object(dp->d_name, fn, CPUFREQ_MINIMUM, cpu_index); in hud_get_num_cpufreq() [all …]
|
D | hud_cpu.c | 64 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument 71 if (cpu_index != ALL_CPUS && cpu_index >= sysInfo.dwNumberOfProcessors) { in get_cpu_stats() 101 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument 110 if (cpu_index == ALL_CPUS) { in get_cpu_stats() 134 int mib[] = { CTL_KERN, KERN_CP_TIME, cpu_index }; in get_cpu_stats() 140 int mib[] = { CTL_KERN, KERN_CPTIME2, cpu_index }; in get_cpu_stats() 151 if (len < (cpu_index + 1) * sizeof(cp_time)) in get_cpu_stats() 159 memcpy(cp_time, cp_times + (cpu_index * CPUSTATES), in get_cpu_stats() 176 get_cpu_stats(unsigned cpu_index, uint64_t *busy_time, uint64_t *total_time) in get_cpu_stats() argument 182 if (cpu_index == ALL_CPUS) in get_cpu_stats() [all …]
|
D | hud_private.h | 171 void hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index); 212 void hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, unsigned int mode);
|
/external/perfetto/src/traced/probes/common/ |
D | cpu_freq_info.cc | 35 uint32_t cpu_index, in ReadAndAppendFreqs() argument 41 freqs->insert({cpu_index, freq.value()}); in ReadAndAppendFreqs() 67 uint32_t cpu_index = maybe_cpu_index.value(); local 69 &freqs, cpu_index, 70 ReadFile(sysfs_cpu_path_ + "/cpu" + std::to_string(cpu_index) + 73 &freqs, cpu_index, 74 ReadFile(sysfs_cpu_path_ + "/cpu" + std::to_string(cpu_index) +
|
/external/mesa3d/.gitlab-ci/common/ |
D | intel-gpu-freq.sh | 432 local path cpu_index 436 cpu_index=${path##*/cpu} 437 printf " %s" ${cpu_index%%/*} 460 local var val info path cpu_index print=0 ret=0 462 cpu_index=$1 470 path=$(print_cpu_freq_sysfs_path "${info}" ${cpu_index}) 558 local cpu_index 559 for cpu_index in $(get_online_cpus); do 560 read_cpu_freq_info ${cpu_index} n ${CAP_CPU_FREQ_INFO} || { res=$?; continue; } 566 log INFO "Setting CPU%s max scaling freq to %s Hz" ${cpu_index} "${target_freq}" [all …]
|
/external/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source_unittest.cc | 148 for (uint32_t cpu_index = 0; cpu_index < CPU_COUNT; cpu_index++) { in TEST_F() local 151 std::to_string(cpu_index) + "/cpu_capacity")) in TEST_F() 152 .WillOnce(Return(kMockCpuCapacityInfoAndroid[cpu_index])); in TEST_F()
|
D | system_info_data_source.cc | 92 std::string cpu_index = ""; in Start() local 108 if (line.empty() && !cpu_index.empty()) { in Start() 109 PERFETTO_DCHECK(cpu_index == std::to_string(next_cpu_index)); in Start() 115 base::StripSuffix(ReadFile("/sys/devices/system/cpu/cpu" + cpu_index + in Start() 127 cpu_index = ""; in Start() 164 cpu_index = value; in Start()
|
/external/crosvm/devices/src/ |
D | vmwdt.rs | 351 let cpu_index: usize = (info.offset / VMWDT_REG_LEN) as usize; in write() localVariable 354 if cpu_index > self.vm_wdts.lock().len() { in write() 355 error!("Bad write cpu_index {}", cpu_index); in write() 363 let cpu_watchdog = &mut wdts_locked[cpu_index]; in write() 386 let cpu_watchdog = &mut wdts_locked[cpu_index]; in write() 393 let cpu_watchdog = &mut wdts_locked[cpu_index]; in write() 406 error!("failed to reset one-shot vcpu time {}", cpu_index); in write() 416 let cpu_watchdog = &mut wdts_locked[cpu_index]; in write() 420 cpu_index, reg_val in write()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/av1/src/main/jni/ |
D | cpu_info.cc | 54 long GetCpuinfoMaxFreq(int cpu_index) { // NOLINT in GetCpuinfoMaxFreq() argument 58 "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_max_freq", cpu_index); in GetCpuinfoMaxFreq()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/av1/src/main/jni/ |
D | cpu_info.cc | 54 long GetCpuinfoMaxFreq(int cpu_index) { // NOLINT in GetCpuinfoMaxFreq() argument 58 "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_max_freq", cpu_index); in GetCpuinfoMaxFreq()
|
/external/libgav1/src/utils/ |
D | cpu_test.cc | 93 long GetCpuinfoMaxFreq(int cpu_index) { // NOLINT(google-runtime-int) in GetCpuinfoMaxFreq() argument 97 "/sys/devices/system/cpu/cpu%d/cpufreq/cpuinfo_max_freq", cpu_index); in GetCpuinfoMaxFreq()
|
/external/cronet/tot/third_party/cpu_features/src/ndk_compat/ |
D | cpu-features.c | 37 int cpu_index = CpuFeatures_StringView_ParsePositiveNumber(text); in parse_cpu_mask() local 38 if (cpu_index < 0) return; in parse_cpu_mask() 39 set_cpu_mask_bit(cpu_index, cpu_mask); in parse_cpu_mask()
|
/external/cpu_features/ndk_compat/ |
D | cpu-features.c | 37 int cpu_index = CpuFeatures_StringView_ParsePositiveNumber(text); in parse_cpu_mask() local 38 if (cpu_index < 0) return; in parse_cpu_mask() 39 set_cpu_mask_bit(cpu_index, cpu_mask); in parse_cpu_mask()
|
/external/cronet/stable/third_party/cpu_features/src/ndk_compat/ |
D | cpu-features.c | 37 int cpu_index = CpuFeatures_StringView_ParsePositiveNumber(text); in parse_cpu_mask() local 38 if (cpu_index < 0) return; in parse_cpu_mask() 39 set_cpu_mask_bit(cpu_index, cpu_mask); in parse_cpu_mask()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/ |
D | tensor_desc.h | 383 const int cpu_index = shape.LinearIndex({s * element_size + c}); in DataFromLinear() local 384 value = src[cpu_index]; in DataFromLinear() 409 const int cpu_index = in DataFromBHWDC() local 411 value = src[cpu_index]; in DataFromBHWDC() 441 int cpu_index = shape.LinearIndex({b, y, x, d, s * 4 + c}); in DataToBHWDC() local 443 dst[cpu_index] = src[gpu_index]; in DataToBHWDC()
|
/external/coreboot/src/soc/intel/xeon_sp/gnr/ |
D | cpu.c | 34 __func__, dev_path(cpu), cpu_index(), cpu->path.apic.apic_id); in each_cpu_init()
|
/external/coreboot/src/soc/intel/common/block/acpi/ |
D | pep.c | 185 size_t cpu_index = 0; in acpi_lpi_get_constraints() local 202 acpigen_write_processor_namestring(cpu_index++); in acpi_lpi_get_constraints()
|
/external/coreboot/src/soc/amd/common/block/cpu/smm/ |
D | smm_relocate.c | 76 uintptr_t smbase = smm_get_cpu_smbase(cpu_index()); in smm_relocation_handler()
|
/external/arm-trusted-firmware/include/lib/el3_runtime/ |
D | cpu_data.h | 175 struct cpu_data *_cpu_data_by_index(uint32_t cpu_index);
|
/external/coreboot/src/drivers/intel/fsp2_0/ppi/ |
D | mp_service_ppi.c | 169 index = cpu_index(); in mp_identify_processor()
|
/external/trusty/arm-trusted-firmware/include/lib/el3_runtime/ |
D | cpu_data.h | 192 struct cpu_data *_cpu_data_by_index(uint32_t cpu_index);
|
/external/coreboot/src/soc/intel/xeon_sp/cpx/ |
D | cpu.c | 82 __func__, dev_path(cpu), cpu_index(), cpu->path.apic.apic_id, in each_cpu_init()
|
/external/coreboot/src/soc/intel/xeon_sp/skx/ |
D | cpu.c | 63 __func__, dev_path(cpu), cpu_index(), cpu->path.apic.apic_id, in xeon_sp_core_init()
|
/external/coreboot/src/arch/x86/include/arch/ |
D | cpu.h | 193 static inline unsigned long cpu_index(void) in cpu_index() function
|
/external/coreboot/src/soc/intel/xeon_sp/spr/ |
D | cpu.c | 72 __func__, dev_path(cpu), cpu_index(), cpu->path.apic.apic_id, in each_cpu_init()
|