/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 | 8 __u32 cpu; member in struct:xt_cpu_info
|
/external/ltp/tools/pounder21/build_scripts/ |
cpufreq | 3 # Build CPU frequency switching test program 23 # Do any CPU support cpufreq? 24 CPUFREQ_ENABLED_CPUS=`/bin/ls -lad /sys/devices/system/cpu/cpu*/cpufreq 2> /dev/null | wc -l`
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/netfilter/ |
xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/bionic/libc/private/ |
get_cpu_count_from_string.h | 38 int cpu = static_cast<int>(strtol(s, const_cast<char**>(&s), 10)); local 40 cpu_count += cpu - last_cpu; 44 last_cpu = cpu;
|
/system/extras/sane_schedstat/ |
sane_schedstat.c | 40 unsigned int sched_goidle; /* schedule() left the cpu idle */ 45 * the waking cpu */ 72 printf("CPU yield() schedule() switch idle ttwu() local cpu_time wait_time timeslices\n"); 85 int cpu; local 87 if (sscanf(b, "cpu%d %u %u %u %u %u %u %llu %llu %lu\n", 88 &cpu, &tmp.yld_count, 96 cpu_delta[cpu].yld_count = tmp.yld_count - cpu_prev[cpu].yld_count; 97 cpu_delta[cpu].sched_switch = tmp.sched_switch - cpu_prev[cpu].sched_switch [all...] |
/external/devlib/devlib/module/ |
cpufreq.py | 36 path = '/sys/devices/system/cpu/intel_pstate' 41 path = '/sys/devices/system/cpu/cpufreq' 45 # Generic CPUFreq support (per CPU policy) 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) [all...] |
hotplug.py | 7 base_path = '/sys/devices/system/cpu' 11 # If a system has just 1 CPU, it makes not sense to hotplug it. 12 # If a system has more than 1 CPU, CPU0 could be configured to be not 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 [all...] |
/external/ltp/testcases/kernel/power_management/ |
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${cpu} [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
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, &mask) [all...] |
/external/perfetto/tools/skippy/ |
skippy.cc | 31 void SetAffinity(size_t cpu) { 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/ |
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/ |
x86_amd64_features.c | 71 static Bool go(char* cpu) 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, "x86-lzcnt" ) == 0 ) [all...] |
/external/syslinux/com32/gpllib/ |
cpuid.c | 35 bool get_cpu_flag_value_from_name(s_cpu *cpu, const char * flag_name) { 41 flag_value = (bool *)((char *)&cpu->flags + cpu_flags_offset[i]); 106 .c_ident = {"Unknown CPU"} 110 * Read NSC/Cyrix DEVID registers (DIR) to get more detailed info. about the CPU 135 /* read DIR0 and DIR1 CPU registers */ 256 dir0_msn = dir0 >> 4; /* identifies CPU "family" */ 491 void set_cpu_flags(struct cpuinfo_x86 *c, s_cpu * cpu) 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) [all...] |
/external/google-breakpad/src/client/linux/dump_writer_common/ |
seccomp_unwinder.cc | 39 void SeccompUnwinder::PopSeccompStackFrame(RawContextCPU* cpu, 43 uint64_t bp = cpu->rbp; 86 cpu->rbx = seccomp_stackframe.rbx; 87 cpu->rcx = seccomp_stackframe.rcx; 88 cpu->rdx = seccomp_stackframe.rdx; 89 cpu->rsi = seccomp_stackframe.rsi; 90 cpu->rdi = seccomp_stackframe.rdi; 91 cpu->rbp = seccomp_stackframe.rbp; 92 cpu->rsp = top + 4*sizeof(uint64_t) + 128; 93 cpu->r8 = seccomp_stackframe.r8 [all...] |
seccomp_unwinder.h | 43 static void PopSeccompStackFrame(RawContextCPU* cpu,
|
/external/syslinux/com32/hdt/ |
hdt-menu-processor.c | 71 snprintf(buffer, sizeof buffer, "Vendor : %s", hardware->cpu.vendor); 72 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", hardware->cpu.vendor); 76 snprintf(buffer, sizeof buffer, "Model : %s", hardware->cpu.model); 77 snprintf(statbuffer, sizeof statbuffer, "Model: %s", hardware->cpu.model); 81 snprintf(buffer, sizeof buffer, "CPU Cores : %d", hardware->cpu.num_cores); 82 snprintf(statbuffer, sizeof statbuffer, "Number of CPU cores: %d", 83 hardware->cpu.num_cores); 88 snprintf(buffer, sizeof buffer, "CPU Enable: %d", hardware->dmi.processor.core_enabled); 89 snprintf(statbuffer, sizeof statbuffer, "Number of CPU Enabled : %d" [all...] |
/build/kati/ |
affinity.cc | 35 int cpu = distribution(generator); local 37 // Try to come up with a CPU and one close to it. This should work on most 42 cpu = cpu - (cpu % 2); 43 CPU_SET(cpu, &cs); 45 CPU_SET(cpu + 1, &cs);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/ |
hisi_ipc.c | 33 int hisi_cpus_pd_in_cluster_besides_curr(unsigned int cpu, 44 if (cpu == i) 55 int hisi_cpus_powered_off_besides_curr(unsigned int cpu) 60 return (val == (0x8 << (cpu * 4))); 93 void hisi_ipc_cpu_on_off(unsigned int cpu, unsigned int cluster, 100 offset = cluster * 16 + cpu * 4; 102 offset = cluster * 16 + cpu * 4 + 1; 112 hisi_ipc_send(cpu_ipc_num[cluster][cpu]); 115 void hisi_ipc_cpu_on(unsigned int cpu, unsigned int cluster) 117 hisi_ipc_cpu_on_off(cpu, cluster, HISI_IPC_PM_ON) [all...] |
/external/linux-kselftest/tools/testing/selftests/cpufreq/ |
cpu.sh | 4 # CPU helpers 17 cpus=$(ls $CPUROOT | grep "cpu[0-9].*") 18 for cpu in $cpus; do 19 $@ $cpu 25 cpus=$(ls $CPUROOT | grep "cpu[1-9].*") 26 for cpu in $cpus; do 27 $@ $cpu 31 #$1: cpu 38 #$1: cpu 45 #$1: cpu [all...] |
/external/syslinux/gpxe/src/arch/i386/core/ |
cpu.c | 3 #include <cpu.h> 7 * CPU identification 12 * Test to see if CPU flag is changeable 37 * Get CPU information 39 * @v cpu CPU information structure to fill in 41 void get_cpuinfo ( struct cpuinfo_x86 *cpu ) { 46 memset ( cpu, 0, sizeof ( *cpu ) ); 59 &discard_3, &cpu->features ) [all...] |
/prebuilts/go/darwin-x86/src/crypto/sha256/ |
sha256block_amd64.go | 7 import "internal/cpu" 9 var useAVX2 = cpu.X86.HasAVX2 && cpu.X86.HasBMI2
|
/prebuilts/go/linux-x86/src/crypto/sha256/ |
sha256block_amd64.go | 7 import "internal/cpu" 9 var useAVX2 = cpu.X86.HasAVX2 && cpu.X86.HasBMI2
|
/external/google-breakpad/src/google_breakpad/processor/ |
system_info.h | 46 SystemInfo() : os(), os_short(), os_version(), cpu(), cpu_info(), 54 cpu.clear(); 78 // A string identifying the basic CPU family, such as "x86" or "ppc". 83 string cpu; member in struct:google_breakpad::SystemInfo 85 // A string further identifying the specific CPU, such as 88 // defined for the CPU family, this field will be empty.
|
/external/libpng/contrib/arm-neon/ |
android-ndk.c | 19 * http://www.kandroid.org/ndk/docs/CPU-ARM-NEON.html 23 * with an implementation of the Android ARM 'cpu-features' library. The code 27 #include <cpu-features.h>
|