HomeSort by relevance Sort by last modified time
    Searched defs:cpu (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /bionic/libc/bionic/
sched_getcpu.cpp 35 unsigned cpu; local
36 int rc = __getcpu(&cpu, NULL, NULL);
40 return cpu;
  /bionic/libc/kernel/uapi/linux/netfilter/
xt_cpu.h 24 __u32 cpu; member in struct:xt_cpu_info
  /development/ndk/platforms/android-L/include/linux/netfilter/
xt_cpu.h 24 __u32 cpu; member in struct:xt_cpu_info
  /external/chromium_org/tools/perf/metrics/
cpu_unittest.py 7 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/chromium_org/v8/src/base/
cpu-unittest.cc 5 #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.has_sse3())
28 CPU cpu; local
    [all...]
  /external/iptables/include/linux/netfilter/
xt_cpu.h 7 __u32 cpu; member in struct:xt_cpu_info
  /external/kernel-headers/original/uapi/linux/netfilter/
xt_cpu.h 7 __u32 cpu; member in struct:xt_cpu_info
  /external/chromium_org/base/
cpu_unittest.cc 5 #include "base/cpu.h"
10 // Tests whether we can run extended instructions represented by the CPU
12 // MMX, SSE, etc.) supported by the CPU and sees we can run them without
15 TEST(CPU, RunExtendedInstructions) {
17 // Retrieve the CPU information.
18 base::CPU cpu; local
22 ASSERT_TRUE(cpu.has_mmx());
27 if (cpu.has_sse()) {
32 if (cpu.has_sse2())
    [all...]
  /external/chromium_org/components/nacl/renderer/
platform_info.cc 5 #include "base/cpu.h"
43 // translation is specific to the machine, and CPU information goes
52 // sandbox doesn't support them, because base::CPU doesn't
57 // TODO(jfb) The following is x86-specific. The base::CPU class
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/chromium_org/third_party/smhasher/src/
Platform.cpp 16 void SetAffinity ( int cpu )
18 SetProcessAffinityMask(GetCurrentProcess(),cpu); local
26 void SetAffinity ( int /*cpu*/ )
37 printf("WARNING: Could not set CPU affinity\n");
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
cpubasic-err.asm 0 [cpu 8086]
6 cpu 386 label
9 cpu 386 fpu label
12 cpu 8086 label
  /external/oprofile/libop/tests/
cpu_type_tests.c 47 static void test(struct cpu_type const * cpu)
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 type", name)
75 struct cpu_type * cpu; local
    [all...]
  /development/ndk/platforms/android-3/include/linux/
cpu.h 21 struct cpu { struct
  /external/blktrace/
verify_blkparse.c 13 int major, minor, cpu, nr, alias; local
36 if (sscanf(p, "%3d,%3d %2d %8d %lf", &major, &minor, &cpu, &seq, &this_time) != 5)
47 if (cpu >= MAX_CPUS) {
48 fprintf(stderr, "cpu%d too large\n", cpu);
52 if (last_seq[cpu] == seq) {
57 last_seq[cpu] = seq;
  /external/chromium_org/crypto/
openssl_util.cc 9 #include <openssl/cpu.h>
19 #include <cpu-features.h>
20 #include "base/cpu.h"
66 base::CPU cpu; local
67 CRYPTO_set_NEON_functional(!cpu.has_broken_neon());
  /external/chromium_org/media/base/simd/
convert_rgb_to_yuv_unittest.cc 5 #include "base/cpu.h"
48 base::CPU cpu; local
49 if (!cpu.has_ssse3())
  /external/chromium_org/tools/perf/measurements/
media.py 5 from metrics import cpu namespace
22 # Used to add browser power and CPU metrics to results per test.
47 self._cpu_metric = cpu.CpuMetric(tab.browser)
session_restore.py 8 from metrics import cpu namespace
67 self._cpu_metric = cpu.CpuMetric(browser)
73 # Record CPU usage from browser start to when the foreground page is loaded.
webrtc.py 5 from metrics import cpu namespace
24 self._cpu_metric = cpu.CpuMetric(browser)
  /external/clang/test/CodeGen/
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* 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* @cpu to i8*), i64 2) }
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
open-syscall-all-cpus.c 9 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);
57 pr_debug("sched_setaffinity() failed on CPU %d: %s "
    [all...]
  /external/oprofile/libpp/
filename_spec.h 80 generic_spec<int> cpu; member in class:filename_spec
parse_filename.h 33 std::string cpu; member in struct:parsed_filename
  /external/chromium_org/chrome/browser/metrics/
time_ticks_experiment_win.cc 9 #include "base/cpu.h"
28 base::CPU cpu; local
30 cpu.has_non_stop_time_stamp_counter());
31 if (!cpu.has_non_stop_time_stamp_counter()) {
  /external/chromium_org/third_party/skia/tools/flags/
SkCommonFlags.h 14 DECLARE_bool(cpu); variable

Completed in 4312 milliseconds

1 2 3 4 5 6