Home
last modified time | relevance | path

Searched refs:cpuinfo (Results 1 – 25 of 74) sorted by relevance

123

/external/valgrind/tests/
Dmips_features.c49 int cpuinfo; in go() local
62 cpuinfo = mipsCPUInfo(dsp); in go()
63 if (cpuinfo == 1) { in go()
70 cpuinfo = mipsCPUInfo(dsp2); in go()
71 if (cpuinfo == 1) { in go()
78 cpuinfo = mipsCPUInfo(cavium); in go()
79 if (cpuinfo == 1) { in go()
86 cpuinfo = mipsCPUInfo(cavium2); in go()
87 if (cpuinfo == 1) { in go()
/external/autotest/client/bin/
Dbase_utils.py295 cpuinfo = []
301 cpuinfo.append(cpu)
308 cpuinfo.append(cpu)
309 return cpuinfo
315 cpuinfo = f.readlines()
317 if list_grep(cpuinfo, '^cpu.*(RS64|POWER3|Broadband Engine)'):
319 elif list_grep(cpuinfo, '^cpu.*POWER4'):
321 elif list_grep(cpuinfo, '^cpu.*POWER5'):
323 elif list_grep(cpuinfo, '^cpu.*POWER6'):
325 elif list_grep(cpuinfo, '^cpu.*POWER7'):
[all …]
/external/webp/src/dsp/
Dcpu-features.c227 char cpuinfo[4096]; in android_cpuInit() local
234 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit()
236 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
243 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "processor"); in android_cpuInit()
245 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "Processor"); in android_cpuInit()
266 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
297 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
322 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in android_cpuInit()
/external/webrtc/webrtc/system_wrappers/source/android/
Dcpu-features.c227 char cpuinfo[4096]; in android_cpuInit() local
234 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit()
236 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
243 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "processor"); in android_cpuInit()
245 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "Processor"); in android_cpuInit()
266 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
297 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
322 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in android_cpuInit()
/external/libopus/celt/arm/
Darmcpu.c96 FILE *cpuinfo; in opus_cpu_capabilities() local
100 cpuinfo = fopen("/proc/cpuinfo", "r"); in opus_cpu_capabilities()
102 if(cpuinfo != NULL) in opus_cpu_capabilities()
108 while(fgets(buf, 512, cpuinfo) != NULL) in opus_cpu_capabilities()
142 fclose(cpuinfo); in opus_cpu_capabilities()
/external/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c558 get_elf_hwcap_from_proc_cpuinfo(const char* cpuinfo, int cpuinfo_len) { in get_elf_hwcap_from_proc_cpuinfo() argument
561 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in get_elf_hwcap_from_proc_cpuinfo()
576 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap_from_proc_cpuinfo()
667 char* cpuinfo = NULL; in android_cpuInit() local
681 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
682 if (cpuinfo == NULL) { in android_cpuInit()
686 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
688 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
691 free(cpuinfo); in android_cpuInit()
713 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
[all …]
/external/flac/libFLAC/
Dcpu.c454 int cpuinfo[4]; in FLAC__cpu_info_x86() local
456 __cpuid(cpuinfo, ext); in FLAC__cpu_info_x86()
457 if((unsigned)cpuinfo[0] < level) { in FLAC__cpu_info_x86()
462 __cpuidex(cpuinfo, level, 0); /* for AVX2 detection */ in FLAC__cpu_info_x86()
464 __cpuid(cpuinfo, level); /* some old compilers don't support __cpuidex */ in FLAC__cpu_info_x86()
466 *eax = cpuinfo[0]; *ebx = cpuinfo[1]; *ecx = cpuinfo[2]; *edx = cpuinfo[3]; in FLAC__cpu_info_x86()
Dstream_encoder.c349 FLAC__CPUInfo cpuinfo; member
879 FLAC__cpu_info(&encoder->private_->cpuinfo); in init_stream_internal_()
895 if(encoder->private_->cpuinfo.use_asm) { in init_stream_internal_()
897 FLAC__ASSERT(encoder->private_->cpuinfo.type == FLAC__CPUINFO_TYPE_IA32); in init_stream_internal_()
899 if(encoder->private_->cpuinfo.ia32.sse) { in init_stream_internal_()
915 if(encoder->private_->cpuinfo.ia32.mmx) { in init_stream_internal_()
924 if(encoder->private_->cpuinfo.ia32.mmx && encoder->private_->cpuinfo.ia32.cmov) in init_stream_internal_()
929 if(encoder->private_->cpuinfo.ia32.sse) { in init_stream_internal_()
930 …if(encoder->private_->cpuinfo.ia32.sse42 || !encoder->private_->cpuinfo.ia32.intel) { /* use new a… in init_stream_internal_()
958 if(encoder->private_->cpuinfo.ia32.sse2) { in init_stream_internal_()
[all …]
/external/autotest/client/site_tests/power_ARMSettings/
Dpower_ARMSettings.py51 cpuinfo = utils.read_file('/proc/cpuinfo')
54 match = re.search(r'ARMv[4-7]', cpuinfo)
58 logging.info(cpuinfo)
/external/libmicrohttpd/m4/
Dax_count_cpus.m445 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
46 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
47 CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo`
/external/autotest/client/cros/
Dpower_utils.py33 cpuinfo = utils.read_file('/proc/cpuinfo')
35 if re.search(r'Intel.*Atom.*[NZ][2-6]', cpuinfo):
37 if re.search(r'Intel.*Celeron.*N2[89][0-9][0-9]', cpuinfo):
39 if re.search(r'Intel.*Celeron.*N3[0-9][0-9][0-9]', cpuinfo):
41 if re.search(r'Intel.*Celeron.*[0-9]{3,4}', cpuinfo):
43 if re.search(r'Intel.*Core.*i[357]-[234][0-9][0-9][0-9]', cpuinfo):
46 logging.info(cpuinfo)
/external/iptables/extensions/
Dlibxt_cpu.c25 struct xt_cpu_info *cpuinfo = cb->data; in cpu_parse() local
29 cpuinfo->invert = true; in cpu_parse()
/external/netperf/doc/examples/
Drunemomniaggdemo.sh128 NUM_CPUS=`grep processor /proc/cpuinfo | wc -l`
238 cat /proc/cpuinfo 2>&1 > cpuinfo.txt
Drunemomni.sh191 cat /proc/cpuinfo
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dmsr_power_monitor.py104 cpuinfo = open('/proc/cpuinfo').read().splitlines()
105 for line in cpuinfo:
/external/valgrind/exp-bbv/tests/ppc32-linux/
Dll.S193 # Load /proc/cpuinfo into buffer
197 # addi 3,DATA_BEGIN,(cpuinfo-data_begin)
/external/eigen/bench/btl/data/
Dgo_mean27 '<li>' `cat /proc/cpuinfo | grep "model name" | head -n 1`\
/external/valgrind/exp-bbv/tests/x86-linux/
Dll.S165 # Load /proc/cpuinfo into buffer
173 # mov $cpuinfo,%ebx # '/proc/cpuinfo'
385 mov $disk_buffer-1,%esi # look in cpuinfo buffer
558 cpuinfo: .ascii "/proc/cpuinfo\0"
/external/valgrind/exp-bbv/tests/amd64-linux/
Dll.S173 # Load /proc/cpuinfo into buffer
181 # mov $cpuinfo,%edi # '/proc/cpuinfo'
387 mov $disk_buffer-1,%esi # look in cpuinfo buffer
558 cpuinfo: .ascii "/proc/cpuinfo\0"
/external/google-breakpad/android/
Dcommon-functions.sh190 grep -c -e '^processor' /proc/cpuinfo
/external/autotest/client/tests/kvmtest/
Dcontrol.with_modbuild49 if os.system("grep vmx /proc/cpuinfo 1>/dev/null") != 0:
/external/autotest/site_utils/bootperf-bin/
Dbootperf60 platform_BootPerfServer/sysinfo/cpuinfo
/external/valgrind/exp-bbv/tests/arm-linux/
Dll.S162 @ Load /proc/cpuinfo into buffer
264 ldr r7,disk_addr @ look in cpuinfo buffer
/external/llvm/docs/
DHowToBuildOnARM.rst68 for ((cpu=0; cpu<`grep -c proc /proc/cpuinfo`; cpu++)); do
/external/skia/third_party/libsdl/android/
Dsdl_android.gypi34 '<(src_dir)/src/cpuinfo/SDL_cpuinfo.c',

123