Searched refs:cpu (Results 51 - 75 of 544) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dvdso_support.cc149 long VDSOSupport::GetCPUViaSyscall(unsigned *cpu, void *, void *) { // NOLINT argument
151 return sys_getcpu(cpu, NULL, NULL);
160 long VDSOSupport::InitAndGetCPU(unsigned *cpu, void *x, void *y) { // NOLINT argument
163 return (*getcpu_fn_)(cpu, x, y);
170 unsigned cpu; local
171 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, NULL, NULL);
172 return ret_code == 0 ? cpu : ret_code;
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dvdso_support.cc149 long VDSOSupport::GetCPUViaSyscall(unsigned *cpu, void *, void *) { // NOLINT argument
151 return sys_getcpu(cpu, NULL, NULL);
160 long VDSOSupport::InitAndGetCPU(unsigned *cpu, void *x, void *y) { // NOLINT argument
163 return (*getcpu_fn_)(cpu, x, y);
170 unsigned cpu; local
171 int ret_code = (*VDSOSupport::getcpu_fn_)(&cpu, NULL, NULL);
172 return ret_code == 0 ? cpu : ret_code;
/external/oprofile/module/x86/
H A Dcpu_type.c82 unsigned int cpu;
99 cpu = 0;
101 if (apic_id[cpu] & ~mask) {
105 cpu++;
106 } while (cpu < smp_num_cpus);
/external/oprofile/module/
H A Doprofile.c58 inline static int need_wakeup(uint cpu, struct _oprof_data * data) argument
60 return data->nextbuf >= (data->buf_size - data->buf_watermark) && !oprof_ready[cpu];
69 inline static void evict_op_entry(uint cpu, struct _oprof_data * data, long irq_enabled) argument
72 if (likely(!need_wakeup(cpu, data)))
103 oprof_ready[cpu] = 1;
117 void op_do_profile(uint cpu, long eip, long irq_enabled, int ctr) argument
119 struct _oprof_data * data = &oprof_data[cpu];
127 evict_op_entry(cpu, data, irq_enabled);
135 static void stop_cpu_perfctr(int cpu) argument
138 int_ops->stop_cpu(cpu);
141 start_cpu_perfctr(int cpu) argument
338 int cpu; local
640 uint cpu; local
663 uint cpu; local
695 uint cpu; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-stat.c107 static int (*aggr_get_id)(struct cpu_map *m, int cpu);
345 int cpu; local
347 for (cpu = 0; cpu < perf_evsel__nr_cpus(counter); cpu++) {
348 if (__perf_evsel__read_on_cpu(counter, cpu, 0, scale) < 0)
351 count = counter->counts->cpu[cpu].values;
636 static void nsec_printout(int cpu, int nr, struct perf_evsel *evsel, double avg) argument
641 aggr_printout(evsel, cpu, n
685 print_stalled_cycles_frontend(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
704 print_stalled_cycles_backend(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
723 print_branch_misses(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
742 print_l1_dcache_misses(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
761 print_l1_icache_misses(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
780 print_dtlb_cache_misses(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
799 print_itlb_cache_misses(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
818 print_ll_cache_misses(int cpu, struct perf_evsel *evsel __maybe_unused, double avg) argument
837 abs_printout(int cpu, int nr, struct perf_evsel *evsel, double avg) argument
956 int cpu, cpu2, s, s2, id, nr; local
1073 int cpu; local
[all...]
H A Dbuiltin-timechart.c125 int cpu; member in struct:cpu_sample
139 int cpu; member in struct:power_event
231 pid_put_sample(int pid, int type, unsigned int cpu, u64 start, u64 end) argument
253 sample->cpu = cpu;
345 static void c_state_start(int cpu, u64 timestamp, int state) argument
347 cpus_cstate_start_times[cpu] = timestamp;
348 cpus_cstate_state[cpu] = state;
351 static void c_state_end(int cpu, u64 timestamp) argument
358 pwr->state = cpus_cstate_state[cpu];
368 p_state_change(int cpu, u64 timestamp, u64 new_freq) argument
405 sched_wakeup(int cpu, u64 timestamp, int pid, struct trace_entry *te) argument
436 sched_switch(int cpu, u64 timestamp, struct trace_entry *te) argument
572 u64 cpu; local
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dkernel.js10 base.require('tracing.trace_model.cpu');
71 var cpu = this.cpus[cpuNumber];
72 cpu.updateBounds();
73 this.bounds.addRange(cpu.bounds);
/external/fio/os/
H A Dos-solaris.h104 #define fio_cpu_clear(mask, cpu) pset_assign(PS_NONE, (cpu), NULL)
105 #define fio_cpu_set(mask, cpu) pset_assign(*(mask), (cpu), NULL)
107 static inline int fio_cpu_isset(os_cpu_mask_t *mask, int cpu) argument
123 if (cpus[i] == cpu) {
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Dcpu_track.js20 ui.define('cpu-track', tracing.tracks.ContainerTrack);
26 this.classList.add('cpu-track');
29 get cpu() {
33 set cpu(cpu) {
34 this.cpu_ = cpu;
/external/linux-tools-perf/perf-3.12.0/tools/perf/python/
H A Dtwatch.py31 for cpu in cpus:
32 event = evlist.read_on_cpu(cpu)
35 print "cpu: %2d, pid: %4d, tid: %4d" % (event.sample_cpu,
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dopen-syscall.c41 if (evsel->counts->cpu[0].val != nr_open_calls) {
43 nr_open_calls, evsel->counts->cpu[0].val);
/external/chromium_org/crypto/
H A Dopenssl_util.cc9 #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/third_party/boringssl/src/crypto/
H A Dcpu-arm.c57 #include <openssl/cpu.h>
/external/chromium_org/third_party/skia/tools/flags/
H A DSkCommonFlags.h14 DECLARE_bool(cpu); variable
/external/llvm/test/MC/ARM/
H A Ddirective-word-diagnostics.s4 .cpu armv7
/external/oprofile/libop/
H A Dop_mangle.h48 int cpu; member in struct:mangle_values
/external/qemu/include/qemu/
H A Dlog.h9 // TODO(digit): #include "qom/cpu.h"
79 * @cpu: The CPU whose state is to be logged.
84 static inline void log_cpu_state(CPUState *cpu, int flags) argument
87 cpu_dump_state(cpu, qemu_logfile, fprintf, flags);
93 * @cpu: The CPU whose state is to be logged.
98 static inline void log_cpu_state_mask(int mask, CPUState *cpu, int flags) argument
101 log_cpu_state(cpu, flags);
/external/fio/
H A Dconfigure131 cpu=""
142 --cpu=*) cpu="$optarg"
166 echo "--cpu= Specify target CPU if auto-detect fails"
202 # the correct CPU with the --cpu option.
210 if test -z "$cpu" && test "$(sysctl -n hw.optional.x86_64)" = "1"; then
211 cpu="x86_64"
216 if test -z "$cpu" && test "$(isainfo -k)" = "amd64"; then
217 cpu="x86_64"
256 if test ! -z "$cpu" ; the
[all...]
/external/blktrace/
H A Dblkrawverify.c114 fprintf(ofp, " %8s: %u\n", "cpu", bit->cpu);
121 static int process(FILE **fp, char *devname, char *file, unsigned int cpu) argument
208 if (bit->cpu != cpu) {
209 INC_BAD("bad cpu");
252 fprintf(ofp, " Summary for cpu %d:\n", cpu);
263 fprintf(ofp, "%8s %d cpu\n", "", nbad_cpu);
280 int i, cpu, nba local
[all...]
/external/chromium_org/build/android/pylib/perf/
H A Dperf_control_unittest.py30 for cpu in range(perf._num_cpu_cores):
31 path = perf_control.PerfControl._CPU_ONLINE_FMT % cpu
34 path = perf_control.PerfControl._SCALING_GOVERNOR_FMT % cpu
/external/chromium_org/chrome/browser/metrics/
H A Dtime_ticks_experiment_win.cc9 #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/iptables/extensions/
H A Dlibxt_cpu.c12 "cpu match options:\n"
13 "[!] --cpu number Match CPU number\n");
17 {.name = "cpu", .id = O_CPU, .type = XTTYPE_UINT32,
19 XTOPT_POINTER(struct xt_cpu_info, cpu)},
37 printf(" cpu %s%u", info->invert ? "! ":"", info->cpu);
44 printf("%s --cpu %u", info->invert ? " !" : "", info->cpu);
49 .name = "cpu",
/external/qemu/target-i386/
H A Dkvm.c26 #include "cpu.h"
70 uint32_t kvm_arch_get_supported_cpuid(CPUState *cpu, uint32_t function, int reg) argument
77 if (!kvm_check_extension(cpu->kvm_state, KVM_CAP_EXT_CPUID)) {
82 while ((cpuid = try_get_cpuid(cpu->kvm_state, max)) == NULL) {
104 cpuid_1_edx = kvm_arch_get_supported_cpuid(cpu, 1, R_EDX);
119 uint32_t kvm_arch_get_supported_cpuid(CPUState *cpu, uint32_t function, int reg) argument
130 int kvm_arch_init_vcpu(CPUState *cpu) argument
138 CPUX86State *env = cpu->env_ptr;
206 return kvm_vcpu_ioctl(cpu, KVM_SET_CPUID2, &cpuid_data);
213 CPUState *cpu local
498 kvm_get_sregs(CPUState *cpu) argument
646 kvm_arch_put_registers(CPUState *cpu) argument
678 kvm_arch_get_registers(CPUState *cpu) argument
702 kvm_arch_vcpu_run(CPUState *cpu) argument
712 kvm_arch_pre_run(CPUState *cpu, struct kvm_run *run) argument
752 kvm_arch_post_run(CPUState *cpu, struct kvm_run *run) argument
769 kvm_handle_halt(CPUState *cpu) argument
784 kvm_arch_handle_exit(CPUState *cpu, struct kvm_run *run) argument
799 kvm_arch_insert_sw_breakpoint(CPUState *cpu, struct kvm_sw_breakpoint *bp) argument
809 kvm_arch_remove_sw_breakpoint(CPUState *cpu, struct kvm_sw_breakpoint *bp) argument
941 kvm_arch_update_guest_debug(CPUState *cpu, struct kvm_guest_debug *dbg) argument
[all...]
/external/oprofile/module/ia64/
H A Dop_pmu.c56 uint cpu = op_cpu_id(); local
61 op_do_profile(cpu, regs->cr_iip, 1, ctr);
62 set_pmd_neg(oprof_data[cpu].ctr_count[ctr], ctr);
319 /* printk(KERN_ALERT "oprofile_IA64: pmu_start on cpu %d\n",
389 pmu_select_start(uint cpu) argument
391 if (cpu == op_cpu_id())
394 smp_call_function(pmu_start, &cpu, 0, 1);
399 pmu_select_stop(uint cpu) argument
401 if (cpu == op_cpu_id())
404 smp_call_function(pmu_stop, &cpu,
411 int cpu, i; local
491 uint const cpu = op_cpu_id(); local
525 uint const cpu = op_cpu_id(); local
[all...]
/external/qemu/include/sysemu/
H A Dkvm.h18 #include "cpu.h"
141 void hax_vcpu_sync_state(CPUState *cpu, int modified);
143 static inline void cpu_synchronize_state(CPUState *cpu, int modified) argument
147 kvm_arch_put_registers(cpu);
149 kvm_arch_get_registers(cpu);
152 hax_vcpu_sync_state(cpu, modified);

Completed in 1872 milliseconds

1234567891011>>