/external/llvm/test/MC/ARM/ |
H A D | cpu-test.s | 5 // CHECK: .cpu cortex-a8 6 .cpu cortex-a8 9 .cpu arm9 13 .cpu foobar 14 // CHECK: .cpu cortex-m3 15 .cpu cortex-m3
|
/external/clang/test/CodeGen/ |
H A D | pr4349.c | 10 struct cpu struct 14 extern struct cpu cpu; 19 // CHECK: @svars1 = global [1 x %struct.svar] [%struct.svar { i8* bitcast (%struct.cpu* @cpu to i8*) }] 22 { &((cpu.pc).w[0]) } 24 // CHECK: @svars2 = global [1 x %struct.svar] [%struct.svar { i8* getelementptr (i8, i8* bitcast (%struct.cpu* @cpu to i8*), i64 1) }] 27 { &((cpu.pc).b[0][1]) } 29 // CHECK: @svars3 = global [1 x %struct.svar] [%struct.svar { i8* getelementptr (i8, i8* bitcast (%struct.cpu* [all...] |
/external/syslinux/com32/modules/ |
H A D | cpuidtest.c | 44 s_cpu cpu; local 47 detect_cpu(&cpu); 48 printf("Vendor = %s\n", cpu.vendor); 49 printf("Model = %s\n", cpu.model); 50 printf("Vendor ID = %d\n", cpu.vendor_id); 51 printf("Family = %d\n", cpu.family); 52 printf("Model ID = %d\n", cpu.model_id); 53 printf("Stepping = %d\n", cpu.stepping); 55 if (cpu.flags.fpu) 57 if (cpu [all...] |
/external/ltp/testcases/open_posix_testsuite/include/ |
H A D | affinity.h | 32 static int set_affinity(int cpu) argument 37 CPU_SET(cpu, &mask); 45 int cpu = -1; local 47 f = fopen("/sys/devices/system/cpu/online", "r"); 50 fscanf(f, "%d", &cpu); 53 return cpu; 59 int cpu = -1; local 75 if (sscanf(line, "processor%*[^0123456789]%d", &cpu) == 1) 80 return cpu; 85 int cpu; local [all...] |
/external/autotest/client/tests/tsc/src/ |
H A D | sched.h | 16 # define __CPUELT(cpu) ((cpu) / __NCPUBITS) 17 # define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) 33 # define __CPU_SET(cpu, cpusetp) \ 34 ((cpusetp)->__bits[__CPUELT (cpu)] |= __CPUMASK (cpu)) 35 # define __CPU_CLR(cpu, cpusetp) \ 36 ((cpusetp)->__bits[__CPUELT (cpu)] &= ~__CPUMASK (cpu)) [all...] |
/external/libchrome/base/ |
H A D | cpu_unittest.cc | 5 #include "base/cpu.h" 23 base::CPU cpu; local 25 ASSERT_TRUE(cpu.has_mmx()); 26 ASSERT_TRUE(cpu.has_sse()); 27 ASSERT_TRUE(cpu.has_sse2()); 40 if (cpu.has_sse3()) { 45 if (cpu.has_ssse3()) { 50 if (cpu.has_sse41()) { 55 if (cpu.has_sse42()) { 60 if (cpu [all...] |
/external/syslinux/com32/hdt/ |
H A D | hdt-dump-cpu.c | 35 add_hs(cpu.vendor); 36 add_hs(cpu.model); 37 add_hi(cpu.vendor_id); 38 add_hi(cpu.family); 39 add_hi(cpu.model_id); 40 add_hi(cpu.stepping); 41 add_hi(cpu.num_cores); 42 add_hi(cpu.l1_data_cache_size); 43 add_hi(cpu.l1_instruction_cache_size); 44 add_hi(cpu [all...] |
H A D | hdt-cli-cpu.c | 51 more_printf(" Manufacturer : %s \n", hardware->cpu.vendor); 52 more_printf(" Product : %s \n", hardware->cpu.model); 53 more_printf(" CPU Cores : %d \n", hardware->cpu.num_cores); 56 more_printf(" L2 Cache : %dK\n", hardware->cpu.l2_cache_size); 61 if (hardware->cpu.flags.lm) 65 if (hardware->cpu.flags.smp) 69 if (hardware->cpu.flags.vmx || hardware->cpu.flags.svm) 75 /* Let's compute the cpu flags display 111 hardware->cpu [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
H A D | cpu_features_android.c | 11 #include <cpu-features.h>
|
/external/linux-kselftest/tools/testing/selftests/cpu-hotplug/ |
H A D | cpu-on-off-test.sh | 24 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 25 echo $msg cpu hotplug is not supported >&2 30 online_cpus=`cat $SYSFS/devices/system/cpu/online` 34 echo "$msg: since there is only one cpu: $online_cpus" 40 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 56 for cpu in $SYSFS/devices/system/cpu/cpu*; do 57 if [ -f $cpu/onlin [all...] |
H A D | Makefile | 4 TEST_PROGS := cpu-on-off-test.sh 9 @/bin/bash ./cpu-on-off-test.sh -a || echo "cpu-hotplug selftests: [FAIL]"
|
/external/llvm/test/MC/AArch64/ |
H A D | directive-cpu.s | 3 .cpu generic 7 .cpu generic+fp 11 .cpu generic+nofp 15 .cpu generic+simd 19 .cpu generic+nosimd 23 .cpu generic+crc 27 .cpu generic+nocrc 31 .cpu generic+crypto+nocrc 35 .cpu generic+nocrypto+crc
|
/external/devlib/devlib/module/ |
H A D | cpufreq.py | 36 path = '/sys/devices/system/cpu/intel_pstate' 41 path = '/sys/devices/system/cpu/cpufreq' 46 path = '/sys/devices/system/cpu/cpu0/cpufreq' 54 def list_governors(self, cpu): 55 """Returns a list of governors supported by the cpu.""" 56 if isinstance(cpu, int): 57 cpu = 'cpu{}'.format(cpu) 58 sysfile = '/sys/devices/system/cpu/{}/cpufre [all...] |
H A D | hotplug.py | 7 base_path = '/sys/devices/system/cpu' 18 def _cpu_path(cls, target, cpu): 19 if isinstance(cpu, int): 20 cpu = 'cpu{}'.format(cpu) 21 return target.path.join(cls.base_path, cpu, 'online') 28 for cpu in args: 29 self.hotplug(cpu, online=True) 32 for cpu i [all...] |
/external/autotest/client/tests/monotonic_time/src/ |
H A D | cpuset.c | 19 int cpu; local 21 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) 22 if (CPU_ISSET(cpu, cpus)) 30 * of cpu numbers such as: "0,2,4-7" into a cpu_set_t. 38 int cpu; local 58 ERROR(0, "bad cpu number '%d' in cpu set", start); 63 ERROR(0, "bad cpu numbe 116 int cpu; local [all...] |
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/ |
H A D | cpuhotplug_hotplug.sh | 27 CPU=${1#cpu} 66 # $CPU should either be a specific number like 4, or the cpu name, 71 CPU=${1#cpu} 72 if [ ! -w /sys/devices/system/cpu/cpu${CPU}/online ]; then 78 $TIME echo 1 > /sys/devices/system/cpu/cpu${CPU}/online 80 report_timing "Online cpu ${CPU}" 92 CPU=${1#cpu} 93 if [ ! -w /sys/devices/system/cpu/cp [all...] |
/external/iptables/include/linux/netfilter/ |
H A D | xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | xt_cpu.h | 8 __u32 cpu; member in struct:xt_cpu_info
|
/external/ltp/tools/pounder21/build_scripts/ |
H A D | cpufreq | 24 CPUFREQ_ENABLED_CPUS=`/bin/ls -lad /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null | wc -l`
|
/external/ltp/testcases/kernel/power_management/ |
H A D | runpwtests03.sh | 32 for cpu in $(seq 0 "${total_cpus}" ) 34 cpufiles=$(find /sys/devices/system/cpu/cpu"${cpu}"/cpufreq/ \ 46 echo "${0}: PASS: Checking cpu freq sysfs files" 58 for cpu in $(seq 0 "${total_cpus}" ) 63 /sys/devices/system/cpu/cpu${cpu}/cpufreq/scaling_governor 66 "governor -- ${govr} for cpu [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
H A D | utils.c | 85 int cpu; local 95 for (cpu = 8; cpu < CPU_SETSIZE; cpu += 8) 96 if (CPU_ISSET(cpu, &mask)) 97 return cpu; 100 for (cpu = CPU_SETSIZE - 1; cpu >= 0; cpu--) 101 if (CPU_ISSET(cpu, [all...] |
/external/perfetto/tools/skippy/ |
H A D | skippy.cc | 31 void SetAffinity(size_t cpu) { argument 33 CPU_SET(cpu, &set); 40 size_t cpu = 0; local 43 SetAffinity(cpu); 50 cpu = (cpu + 1) % num_cpus; 51 SetAffinity(cpu);
|
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/tools/ |
H A D | cpuhotplug_report_proc_interrupts | 12 foreach my $cpu (sort keys %{$run1->{$irq}}) { 13 printf "%-5s ", $cpu; 19 foreach my $cpu (sort keys %{$run1->{$irq}}) { 20 printf "%-5s ", $run2->{$irq}->{$cpu} - $run1->{$irq}->{$cpu}; 42 foreach my $cpu (@cpus) { 43 $run{"IRQ$irq"}->{"$cpu"} = shift @items;
|
/external/valgrind/tests/ |
H A D | x86_amd64_features.c | 71 static Bool go(char* cpu) argument 76 if ( strcmp( cpu, "x86-fpu" ) == 0 ) { 79 } else if ( strcmp( cpu, "x86-cmov" ) == 0 ) { 82 } else if ( strcmp( cpu, "x86-mmx" ) == 0 ) { 85 } else if ( strcmp( cpu, "x86-mmxext" ) == 0 ) { 88 } else if ( strcmp( cpu, "x86-sse" ) == 0 ) { 91 } else if ( strcmp( cpu, "x86-sse2" ) == 0 ) { 94 } else if ( strcmp( cpu, "x86-sse3" ) == 0 ) { 97 } else if ( strcmp( cpu, "x86-ssse3" ) == 0 ) { 100 } else if ( strcmp( cpu, "x8 167 go(char* cpu) argument [all...] |
/external/syslinux/com32/gpllib/ |
H A D | cpuid.c | 35 bool get_cpu_flag_value_from_name(s_cpu *cpu, const char * flag_name) { argument 41 flag_value = (bool *)((char *)&cpu->flags + cpu_flags_offset[i]); 491 void set_cpu_flags(struct cpuinfo_x86 *c, s_cpu * cpu) argument 493 cpu->flags.fpu = cpu_has(c, X86_FEATURE_FPU); 494 cpu->flags.vme = cpu_has(c, X86_FEATURE_VME); 495 cpu->flags.de = cpu_has(c, X86_FEATURE_DE); 496 cpu->flags.pse = cpu_has(c, X86_FEATURE_PSE); 497 cpu->flags.tsc = cpu_has(c, X86_FEATURE_TSC); 498 cpu->flags.msr = cpu_has(c, X86_FEATURE_MSR); 499 cpu 584 set_generic_info(struct cpuinfo_x86 *c, s_cpu * cpu) argument 599 detect_cpu(s_cpu * cpu) argument [all...] |