/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))
|
/prebuilts/ndk/8/platforms/android-14/arch-mips/usr/include/asm/sn/ |
arch.h | 25 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 26 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 39 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/prebuilts/ndk/8/platforms/android-9/arch-mips/usr/include/asm/sn/ |
arch.h | 25 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 26 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 39 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/prebuilts/ndk/9/platforms/android-14/arch-mips/usr/include/asm/sn/ |
arch.h | 25 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 26 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 39 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/prebuilts/ndk/9/platforms/android-18/arch-mips/usr/include/asm/sn/ |
arch.h | 25 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 26 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 39 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/prebuilts/ndk/9/platforms/android-9/arch-mips/usr/include/asm/sn/ |
arch.h | 25 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 26 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 39 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/external/kernel-headers/original/asm-mips/ |
smp.h | 25 #define raw_smp_processor_id() (current_thread_info()->cpu) 27 /* Map from cpu id to sequential logical cpu number. This will only 30 #define cpu_number_map(cpu) __cpu_number_map[cpu] 32 /* The reverse map from sequential logical cpu number to cpu id. */ 34 #define cpu_logical_map(cpu) __cpu_logical_map[cpu] 47 * this function sends a 'reschedule' IPI to another CPU [all...] |
/external/iptables/include/linux/netfilter/ |
xt_cpu.h | 7 __u32 cpu; member in struct:xt_cpu_info
|
/external/kernel-headers/original/asm-x86/ |
irq_32.h | 28 extern void irq_ctx_init(int cpu); 29 extern void irq_ctx_exit(int cpu); 32 # define irq_ctx_init(cpu) do { } while (0) 33 # define irq_ctx_exit(cpu) do { } while (0)
|
/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/kernel-headers/original/linux/ |
cpu.h | 2 * include/linux/cpu.h - generic cpu definition 5 * basic 'struct cpu' here, which can be embedded in per-arch 8 * Basic handling of the devices is done in drivers/base/cpu.c 11 * CPUs are exported via sysfs in the class/cpu/devices/ 14 * Per-cpu interfaces can be implemented using a struct device_interface. 28 struct cpu { struct 29 int node_id; /* The node which contains the CPU */ 34 extern int register_cpu(struct cpu *cpu, int num) [all...] |
node.h | 36 extern int register_cpu_under_node(unsigned int cpu, unsigned int nid); 37 extern int unregister_cpu_under_node(unsigned int cpu, unsigned int nid); 47 static inline int register_cpu_under_node(unsigned int cpu, unsigned int nid) 51 static inline int unregister_cpu_under_node(unsigned int cpu, unsigned int nid)
|
cpumask.h | 6 * set of CPU's in a system, one bit position per CPU number. 20 * void cpu_set(cpu, mask) turn on bit 'cpu' in mask 21 * void cpu_clear(cpu, mask) turn off bit 'cpu' in mask 24 * int cpu_isset(cpu, mask) true iff bit 'cpu' set in mask 25 * int cpu_test_and_set(cpu, mask) test and set bit 'cpu' in mas [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/ |
x86cpu.gperf | 2 # x86 CPU recognition 53 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) [all...] |
/external/valgrind/main/tests/ |
x86_amd64_features.c | 45 static Bool go(char* cpu) 50 if ( strcmp( cpu, "x86-fpu" ) == 0 ) { 53 } else if ( strcmp( cpu, "x86-cmov" ) == 0 ) { 56 } else if ( strcmp( cpu, "x86-mmx" ) == 0 ) { 59 } else if ( strcmp( cpu, "x86-mmxext" ) == 0 ) { 62 } else if ( strcmp( cpu, "x86-sse" ) == 0 ) { 65 } else if ( strcmp( cpu, "x86-sse2" ) == 0 ) { 68 } else if ( strcmp( cpu, "x86-sse3" ) == 0 ) { 71 } else if ( strcmp( cpu, "x86-ssse3" ) == 0 ) { 74 } else if ( strcmp( cpu, "x86-lzcnt" ) == 0 ) [all...] |
/external/kernel-headers/original/asm-mips/sn/ |
arch.h | 22 #define cputonasid(cpu) (sn_cpu_info[(cpu)].p_nasid) 23 #define cputoslice(cpu) (sn_cpu_info[(cpu)].p_slice) 62 #define CPUID_TO_COMPACT_NODEID(cpu) (cpuid_to_compact_node[(cpu)])
|
/external/kernel-headers/original/asm-mips/sibyte/ |
sb1250.h | 49 extern void sb1250_mask_irq(int cpu, int irq); 50 extern void sb1250_unmask_irq(int cpu, int irq); 53 extern void bcm1480_mask_irq(int cpu, int irq); 54 extern void bcm1480_unmask_irq(int cpu, int irq);
|
/external/smack/src/org/xbill/DNS/ |
HINFORecord.java | 8 * Host Information - describes the CPU and OS of a host 17 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) { 36 this.cpu = byteArrayFromString(cpu); 46 cpu = in.readCountedString(); 53 cpu = byteArrayFromString(st.getString()); 62 * Returns the host's CPU [all...] |
/external/linux-tools-perf/util/ |
trace-event-read.c | 288 int cpu; member in struct:cpu_data 295 static void update_cpu_data_index(int cpu) 297 cpu_data[cpu].offset += page_size; 298 cpu_data[cpu].size -= page_size; 299 cpu_data[cpu].index = 0; 302 static void get_next_page(int cpu) 307 if (!cpu_data[cpu].page) 311 if (cpu_data[cpu].size <= page_size) { 312 free(cpu_data[cpu].page); 313 cpu_data[cpu].page = NULL [all...] |
/external/webrtc/src/system_wrappers/source/ |
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].cpu_ticks[state] [all...] |
/bionic/libc/kernel/arch-x86/asm/ |
hardirq_32.h | 40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
hardirq_32.h | 40 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/asm/ |
hardirq_32.h | 32 #define __IRQ_STAT(cpu, member) (per_cpu(irq_stat, cpu).member)
|