Searched refs:cpu (Results 1 - 25 of 544) sorted by last modified time

1234567891011>>

/external/zlib/src/contrib/masmx86/
H A Dmatch686.asm28 ; with autoselect (with cpu detection code)
/external/webrtc/src/system_wrappers/source/
H A DAndroid.mk20 android/cpu-features.c \
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...]
H A Dcpu_wrapper_unittest.cc40 scoped_ptr<CpuWrapper> cpu(CpuWrapper::CreateCpu());
41 ASSERT_TRUE(cpu.get() != NULL);
48 bool cpu_usage_available = cpu->CpuUsageMultiCore(num_cores, cores) != -1;
58 cpu_usage_available = cpu->CpuUsageMultiCore(num_cores, cores) != -1;
62 const WebRtc_Word32 average = cpu->CpuUsageMultiCore(num_cores, cores);
69 printf("Average cpu:%d\n", average);
/external/webrtc/src/system_wrappers/source/android/
H A Dcpu-features.c13 #include <machine/cpu-features.h>
16 #include "cpu-features.h"
/external/valgrind/main/tests/
H A Ds390x_features.c17 // - 0 if the machine provides the asked-for feature and the cpu
20 // cpu model, if specified, does not match the machine
21 // - 1 for an unknown cpu model in /proc/cpu_info
200 static int go(char *feature, char *cpu) argument
240 if (cpu == NULL) return 0;
249 colon = strchr(cpu, ':');
253 from = to = locate_model(cpu);
254 } else if (colon == cpu) {
257 to = locate_model(cpu + 1);
261 from = locate_model(cpu);
292 go(char *feature, char *cpu) argument
[all...]
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/vixl/
H A DAndroid.mk61 src/a64/cpu-a64.cc \
/external/webp/src/
H A DAndroid.mk41 dsp/cpu.c \
42 dsp/cpu-features.c \
92 dsp/cpu.c \
93 dsp/cpu-features.c \
/external/webp/src/dsp/
H A Dcpu-features.c13 #include <machine/cpu-features.h>
16 #include "cpu-features.h"
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c143 * the simulated stack (used by the synthetic cpu. Guest process
145 * the valgrind stack (used by the real cpu. Valgrind code is running
2926 vki_pid_t, pid, int, cpu, int, group_fd,
2951 unsigned *, cpu, unsigned *, node, struct vki_getcpu_cache *, tcache);
2953 PRE_MEM_WRITE( "getcpu(cpu)", ARG1, sizeof(unsigned) );
H A Dsyswrap-xen.c508 PRE_XEN_SYSCTL_READ(cpupool_op, cpu);
1211 POST_XEN_DOMCTL_WRITE(getvcpuinfo, cpu);
/external/valgrind/main/drd/scripts/
H A Dmeasurement-functions25 if [ -e /sys/devices/system/cpu/cpu0/cache/index2/size ]; then
26 s="$(</sys/devices/system/cpu/cpu0/cache/index2/size)"
/external/valgrind/main/exp-bbv/tests/ppc32-linux/
H A Dll.S244 lis 20,('c'<<8)+'p' # find 'cpu\t: ' and grab up to \n
528 .ascii "cpu : 745/755\n"
/external/valgrind/main/include/vki/
H A Dvki-xen-domctl.h229 vki_xen_uint64_aligned_t cpu_time;/* total cpu time consumed (ns) */
230 vki_uint32_t cpu; /* current mapping */ member in struct:vki_xen_domctl_getvcpuinfo
H A Dvki-xen-sysctl.h102 vki_uint32_t cpu; /* IN: AR */ member in struct:vki_xen_sysctl_cpupool_op
/external/tcpdump/
H A Dconfig.guess623 long cpu = sysconf (_SC_CPU_VERSION);
625 switch (cpu)
683 long cpu = sysconf (_SC_CPU_VERSION);
687 if (CPU_IS_PA_RISC (cpu))
689 switch (cpu)
697 else if (CPU_IS_HP_MC68K (cpu))
862 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
947 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
/external/stressapptest/
H A Dconfig.guess603 long cpu = sysconf (_SC_CPU_VERSION);
605 switch (cpu)
663 long cpu = sysconf (_SC_CPU_VERSION);
667 if (CPU_IS_PA_RISC (cpu))
669 switch (cpu)
677 else if (CPU_IS_HP_MC68K (cpu))
915 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
930 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
/external/stressapptest/src/
H A Dworker.cc83 int cpu; local
85 __asm __volatile("cpuid" : "=b" (cpu) : "a" (1) : "cx", "dx");
88 cpu = 0;
91 cpu = 0;
93 return (cpu >> 24);
444 // Invalid cpu_mask, ie cpu not allocated to this process or doesn't exist.
1485 logprintf(9, "Log: Starting copy thread %d: cpu %s, mem %x\n",
/external/srtp/
H A Dconfig.guess620 long cpu = sysconf (_SC_CPU_VERSION);
622 switch (cpu)
670 long cpu = sysconf (_SC_CPU_VERSION);
674 if (CPU_IS_PA_RISC (cpu))
676 switch (cpu)
684 else if (CPU_IS_HP_MC68K (cpu))
887 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
902 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
/external/skia/platform_tools/android/third_party/cpufeatures/
H A Dcpu-features.c61 #include <machine/cpu-features.h>
64 #include "cpu-features.h"
336 * - each item is either a single decimal number (cpu index), or a range made
471 cpulist_read_from(cpus_present, "/sys/devices/system/cpu/present");
472 cpulist_read_from(cpus_possible, "/sys/devices/system/cpu/possible");
/external/skia/src/core/
H A DSkUtilsArm.cpp20 // cpu-features helper library to detect NEON at runtime. See
32 # include <cpu-features.h>
/external/skia/tests/
H A Dskia_test.cpp40 DEFINE_bool(cpu, true, "whether or not to run CPU tests.");
/external/skia/tools/
H A DPictureBenchmark.cpp34 bool cpu,
40 fTimerTypes |= cpu ? TimerData::kCpu_Flag : 0;
32 setTimersToShow(bool wall, bool truncatedWall, bool cpu, bool truncatedCpu, bool gpu) argument
H A DPictureBenchmark.h55 void setTimersToShow(bool wall, bool truncatedWall, bool cpu, bool truncatedCpu, bool gpu);

Completed in 350 milliseconds

1234567891011>>