/external/zlib/src/contrib/masmx86/ |
H A D | match686.asm | 28 ; with autoselect (with cpu detection code)
|
/external/webrtc/src/system_wrappers/source/ |
H A D | Android.mk | 20 android/cpu-features.c \
|
H A D | cpu_mac.cc | 48 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 D | cpu_wrapper_unittest.cc | 40 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 D | cpu-features.c | 13 #include <machine/cpu-features.h> 16 #include "cpu-features.h"
|
/external/valgrind/main/tests/ |
H A D | s390x_features.c | 17 // - 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 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 163 go(char* cpu) argument [all...] |
/external/vixl/ |
H A D | Android.mk | 61 src/a64/cpu-a64.cc \
|
/external/webp/src/ |
H A D | Android.mk | 41 dsp/cpu.c \ 42 dsp/cpu-features.c \ 92 dsp/cpu.c \ 93 dsp/cpu-features.c \
|
/external/webp/src/dsp/ |
H A D | cpu-features.c | 13 #include <machine/cpu-features.h> 16 #include "cpu-features.h"
|
/external/valgrind/main/coregrind/m_syswrap/ |
H A D | syswrap-linux.c | 143 * 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 D | syswrap-xen.c | 508 PRE_XEN_SYSCTL_READ(cpupool_op, cpu); 1211 POST_XEN_DOMCTL_WRITE(getvcpuinfo, cpu);
|
/external/valgrind/main/drd/scripts/ |
H A D | measurement-functions | 25 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 D | ll.S | 244 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 D | vki-xen-domctl.h | 229 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 D | vki-xen-sysctl.h | 102 vki_uint32_t cpu; /* IN: AR */ member in struct:vki_xen_sysctl_cpupool_op
|
/external/tcpdump/ |
H A D | config.guess | 623 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 D | config.guess | 603 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 D | worker.cc | 83 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 D | config.guess | 620 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 D | cpu-features.c | 61 #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 D | SkUtilsArm.cpp | 20 // cpu-features helper library to detect NEON at runtime. See 32 # include <cpu-features.h>
|
/external/skia/tests/ |
H A D | skia_test.cpp | 40 DEFINE_bool(cpu, true, "whether or not to run CPU tests.");
|
/external/skia/tools/ |
H A D | PictureBenchmark.cpp | 34 bool cpu, 40 fTimerTypes |= cpu ? TimerData::kCpu_Flag : 0; 32 setTimersToShow(bool wall, bool truncatedWall, bool cpu, bool truncatedCpu, bool gpu) argument
|
H A D | PictureBenchmark.h | 55 void setTimersToShow(bool wall, bool truncatedWall, bool cpu, bool truncatedCpu, bool gpu);
|