Searched refs:cpu (Results 1 - 25 of 544) sorted by relevance

1234567891011>>

/external/chromium_org/v8/src/base/
H A Dcpu-unittest.cc5 #include "src/base/cpu.h"
12 CPU cpu; local
15 EXPECT_TRUE(!cpu.has_sse() || cpu.has_mmx());
16 EXPECT_TRUE(!cpu.has_sse2() || cpu.has_sse());
17 EXPECT_TRUE(!cpu.has_sse3() || cpu.has_sse2());
18 EXPECT_TRUE(!cpu.has_ssse3() || cpu
28 CPU cpu; local
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Dcpubasic-err.asm0 [cpu 8086]
6 cpu 386 label
9 cpu 386 fpu label
12 cpu 8086 label
/external/clang/test/CodeGen/
H A Dpr4349.c10 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* 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* bitcast (%struct.cpu*
[all...]
/external/chromium_org/base/
H A Dcpu_unittest.cc5 #include "base/cpu.h"
18 base::CPU cpu; local
22 ASSERT_TRUE(cpu.has_mmx());
27 if (cpu.has_sse()) {
32 if (cpu.has_sse2()) {
37 if (cpu.has_sse3()) {
42 if (cpu.has_ssse3()) {
47 if (cpu.has_sse41()) {
52 if (cpu.has_sse42()) {
57 ASSERT_TRUE(cpu
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dcpu_test.js8 base.require('tracing.trace_model.cpu');
10 base.unittest.testSuite('tracing.trace_model.cpu', function() {
14 var cpu = new Cpu(undefined, 1);
15 cpu.updateBounds();
16 assertEquals(undefined, cpu.bounds.min);
17 assertEquals(undefined, cpu.bounds.max);
21 var cpu = new Cpu(undefined, 1);
22 cpu.slices.push(tracing.test_utils.newSlice(1, 3));
23 cpu.updateBounds();
24 assertEquals(1, cpu
[all...]
/external/qemu/hw/android/goldfish/
H A Dvmem.c29 int safe_memory_rw_debug(CPUState *cpu, target_ulong addr, uint8_t *buf, argument
34 kvm_get_sregs(cpu);
37 return cpu_memory_rw_debug(cpu, addr, buf, len, is_write);
40 hwaddr safe_get_phys_page_debug(CPUState *cpu, target_ulong addr) argument
42 CPUArchState *env = cpu->env_ptr;
46 kvm_get_sregs(cpu);
/external/qemu/include/exec/
H A Dhax.h7 #include "cpu.h"
16 int hax_init_vcpu(CPUState *cpu);
18 int hax_vcpu_exec(CPUState *cpu);
21 void hax_vcpu_sync_state(CPUState *cpu, int modified);
26 int hax_vcpu_emulation_mode(CPUState *cpu);
27 int hax_stop_emulation(CPUState *cpu);
28 int hax_stop_translate(CPUState *cpu);
29 int hax_arch_get_registers(CPUState *cpu);
30 void hax_raise_event(CPUState *cpu);
/external/oprofile/libop/tests/
H A Dcpu_type_tests.c47 static void test(struct cpu_type const * cpu) argument
52 name = op_get_cpu_name(cpu->type);
53 if (cpu->type != CPU_NO_GOOD && strcmp(cpu->name, name)) {
54 printf("for %d expect %s found %s\n", cpu->type, cpu->name,
58 if (cpu->type == CPU_NO_GOOD && strcmp("invalid cpu type", name)) {
59 printf("for %d expect %s found %s\n", cpu->type,
60 "invalid cpu typ
75 struct cpu_type * cpu; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dopen-syscall-all-cpus.c9 int err = -1, fd, cpu; local
42 for (cpu = 0; cpu < cpus->nr; ++cpu) {
43 unsigned int ncalls = nr_open_calls + cpu;
50 if (cpus->map[cpu] >= CPU_SETSIZE) {
51 pr_debug("Ignoring CPU %d\n", cpus->map[cpu]);
55 CPU_SET(cpus->map[cpu], &cpu_set);
58 cpus->map[cpu],
66 CPU_CLR(cpus->map[cpu],
[all...]
/external/chromium_org/third_party/webrtc/system_wrappers/source/
H A Dcpu_features_android.c11 #include <cpu-features.h>
/external/chromium_org/tools/telemetry/telemetry/core/platform/
H A Dcros_platform_backend_unittest.py35 for cpu in results:
36 for state in results[cpu]:
37 self.assertAlmostEqual(results[cpu][state],
38 self.expected_cstate[cpu][state])
/external/chromium_org/tools/perf/metrics/
H A Dcpu_unittest.py7 from metrics import cpu namespace
13 # The result computed is a ratio of cpu time used to time elapsed.
16 self.assertEqual({'Browser': 0.25}, cpu._SubtractCpuStats(end, start))
19 self.assertRaises(AssertionError, cpu._SubtractCpuStats, start, end)
23 self.assertRaises(AssertionError, cpu._SubtractCpuStats, end, start)
27 self.assertEqual({'Browser': 0.25}, cpu._SubtractCpuStats(end, start))
32 cpu._SubtractCpuStats(end, start))
37 self.assertEqual({'Browser': 0.125}, cpu._SubtractCpuStats(end, start))
38 self.assertRaises(AssertionError, cpu._SubtractCpuStats, start, end)
/external/iptables/include/linux/netfilter/
H A Dxt_cpu.h7 __u32 cpu; member in struct:xt_cpu_info
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_cpu.h7 __u32 cpu; member in struct:xt_cpu_info
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dcpu_track_test.js20 var cpu = new Cpu(7);
21 cpu.slices = [
25 cpu.updateBounds();
34 track.heading = 'CPU ' + cpu.cpuNumber;
35 track.cpu = cpu;
/external/qemu/include/qom/
H A Dcpu.h47 typedef void (*CPUUnassignedAccess)(CPUState *cpu, hwaddr addr,
63 int running; /* Nonzero if cpu is currently running(usermode). */
98 #define CPU_NEXT(cpu) QTAILQ_NEXT(cpu, node)
99 #define CPU_FOREACH(cpu) QTAILQ_FOREACH(cpu, &cpus, node)
100 #define CPU_FOREACH_SAFE(cpu, next_cpu) \
101 QTAILQ_FOREACH_SAFE(cpu, &cpus, node, next_cpu)
124 * @cpu: The CPU whose state is to be dumped.
131 void cpu_dump_state(CPUState *cpu, FIL
[all...]
/external/qemu/hw/arm/
H A Dpic.c28 CPUState *cpu = ENV_GET_CPU(env); local
32 cpu_interrupt(cpu, CPU_INTERRUPT_HARD);
34 cpu_reset_interrupt(cpu, CPU_INTERRUPT_HARD);
38 cpu_interrupt(cpu, CPU_INTERRUPT_FIQ);
40 cpu_reset_interrupt(cpu, CPU_INTERRUPT_FIQ);
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dsysfs_power_monitor.py14 CPU_PATH = '/sys/devices/system/cpu/'
58 lambda x: re.match(r'^cpu[0-9]+', x),
76 for cpu in frequencies:
77 out[cpu] = {'frequency_percent': frequencies[cpu]}
78 out[cpu]['cstate_residency_percent'] = cstates[cpu]
90 for cpu in self._cpus:
91 cpu_state_path = os.path.join(CPU_PATH, cpu, 'cpuidle/state*')
92 stats[cpu]
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/
H A Dx86cpu.gperf53 x86_cpu_intel(wordptr cpu, yasm_arch_x86 *arch_x86, unsigned int data)
55 BitVector_Empty(cpu);
57 BitVector_Bit_On(cpu, CPU_Priv);
59 BitVector_Bit_On(cpu, CPU_Prot);
61 BitVector_Bit_On(cpu, CPU_SMM);
63 BitVector_Bit_On(cpu, CPU_AVX);
65 BitVector_Bit_On(cpu, CPU_AES);
66 BitVector_Bit_On(cpu, CPU_CLMUL);
69 BitVector_Bit_On(cpu, CPU_SSE42);
70 BitVector_Bit_On(cpu, CPU_XSAV
[all...]
/external/valgrind/main/tests/
H A Dx86_amd64_features.c71 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
163 go(char* cpu) argument
[all...]
/external/smack/src/org/xbill/DNS/
H A DHINFORecord.java17 private byte [] cpu, os; field in class:HINFORecord
28 * @param cpu A string describing the host's CPU
33 HINFORecord(Name name, int dclass, long ttl, String cpu, String os) { argument
36 this.cpu = byteArrayFromString(cpu);
46 cpu = in.readCountedString();
53 cpu = byteArrayFromString(st.getString());
66 return byteArrayToString(cpu, false);
79 out.writeCountedString(cpu);
89 sb.append(byteArrayToString(cpu, tru
[all...]
/external/chromium_org/components/nacl/renderer/
H A Dplatform_info.cc5 #include "base/cpu.h"
62 base::CPU cpu; local
71 if (cpu.has_sse41()) features.push_back("+sse4.1");
73 else if (cpu.has_ssse3()) features.push_back("+ssse3");
75 else if (cpu.has_sse2()) features.push_back("+sse2");
/external/libpng/contrib/arm-neon/
H A Dandroid-ndk.c23 * with an implementation of the Android ARM 'cpu-features' library. The code
27 #include <cpu-features.h>
/external/webrtc/src/system_wrappers/source/
H A Dcpu_mac.cc48 for (unsigned int cpu= 0; cpu < cpuCount; cpu++)
53 ticks += cpuLoadInfo[cpu].cpu_ticks[state];
55 _lastTickCount[cpu] = ticks;
56 _cpuUsage[cpu] = 0;
120 for (unsigned int cpu = 0; cpu < cpuCount; cpu++)
125 ticks += cpuLoadInfo[cpu]
[all...]
/external/chromium_org/v8/tools/
H A Dcpu.sh6 CPUPATH=/sys/devices/system/cpu
13 echo "$1" > $CPUPATH/cpu$i/cpufreq/scaling_governor
20 echo 0 > $CPUPATH/cpu$i/online
27 echo 0 > $CPUPATH/cpu$i/online
35 echo 1 > $CPUPATH/cpu$i/online

Completed in 1012 milliseconds

1234567891011>>