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

12345678910

/external/valgrind/main/tests/
H A Ds390x_features.c16 // - 0 if the machine provides the asked-for feature and the cpu
19 // cpu model, if specified, does not match the machine
22 // - 2 for an unknown cpu model in /proc/cpu_info
192 static int go(char *feature, char *cpu) argument
224 if (cpu == NULL) return 0;
233 colon = strchr(cpu, ':');
237 from = to = locate_model(cpu);
238 } else if (colon == cpu) {
241 to = locate_model(cpu + 1);
245 from = locate_model(cpu);
276 go(char *feature, char *cpu) argument
[all...]
/external/linux-tools-perf/scripts/python/
H A Dsched-migration.py177 def sched_switch(self, ts_list, prev, prev_state, next, cpu):
178 old_rq = self.prev.rqs[cpu]
184 self.rqs[cpu] = new_rq
187 self.event_cpus = [cpu]
208 def wake_up(self, ts_list, pid, cpu, fork):
209 old_rq = self.prev.rqs[cpu]
217 self.rqs[cpu] = new_rq
220 self.event_cpus = [cpu]
263 def mouse_down(self, cpu, t):
269 rq = ts.rqs[cpu]
[all...]
H A Dcheck-perf-trace.py60 def print_header(event_name, cpu, secs, nsecs, pid, comm):
62 (event_name, cpu, secs, nsecs, pid, comm),
H A Dfutex-contention.py24 def syscalls__sys_enter_futex(event, ctxt, cpu, s, ns, tid, comm,
34 def syscalls__sys_exit_futex(event, ctxt, cpu, s, ns, tid, comm,
/external/linux-tools-perf/util/
H A Dcpumap.c48 int n, cpu, prev; local
51 onlnf = fopen("/sys/devices/system/cpu/online", "r");
58 n = fscanf(onlnf, "%u%c", &cpu, &sep);
62 int new_max = nr_cpus + cpu - prev - 1;
72 while (++prev < cpu)
83 tmp_cpus[nr_cpus++] = cpu;
85 prev = cpu;
H A Devlist.c118 int cpu, int thread, u64 id)
121 struct perf_sample_id *sid = SID(evsel, cpu, thread);
130 int cpu, int thread, u64 id)
132 perf_evlist__id_hash(evlist, evsel, cpu, thread, id);
138 int cpu, int thread, int fd)
152 perf_evlist__id_add(evlist, evsel, cpu, thread, read_data[id_idx]);
283 int cpu, thread; local
285 for (cpu = 0; cpu < evlist->cpus->nr; cpu
116 perf_evlist__id_hash(struct perf_evlist *evlist, struct perf_evsel *evsel, int cpu, int thread, u64 id) argument
129 perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel, int cpu, int thread, u64 id) argument
136 perf_evlist__id_add_fd(struct perf_evlist *evlist, struct perf_evsel *evsel, int cpu, int thread, int fd) argument
444 int cpu; local
[all...]
/external/kernel-headers/original/asm-x86/
H A Dtsc.h73 extern void check_tsc_sync_source(int cpu);
/external/kernel-headers/original/linux/
H A Ddmaengine.h93 * @local: per-cpu pointer to a struct dma_chan_percpu
226 int cpu = get_cpu(); local
227 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
228 per_cpu_ptr(chan->local, cpu)->memcpy_count++;
250 int cpu = get_cpu(); local
251 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
252 per_cpu_ptr(chan->local, cpu)->memcpy_count++;
277 int cpu = get_cpu(); local
278 per_cpu_ptr(chan->local, cpu)->bytes_transferred += len;
279 per_cpu_ptr(chan->local, cpu)
[all...]
H A Dsmp.h33 extern void smp_send_reschedule(int cpu);
72 * Mark the boot cpu "online" so that it can call console drivers in
73 * printk() and can access its per-cpu storage.
96 static inline void smp_send_reschedule(int cpu) { } argument
/external/oprofile/libpp/
H A Dparse_filename.h33 std::string cpu; member in struct:parsed_filename
H A Dfilename_spec.h80 generic_spec<int> cpu; member in class:filename_spec
/external/oprofile/module/x86/
H A Dop_rtc.c32 uint cpu = op_cpu_id(); local
47 op_do_profile(cpu, instruction_pointer(regs), IRQ_ENABLED(regs), 0);
127 static void rtc_start_cpu(uint cpu) argument
132 static void rtc_stop_cpu(uint cpu) argument
H A Dop_x86_model.h38 void (*check_ctrs)(uint const cpu,
/external/linux-tools-perf/
H A Dbuiltin-test.c310 if (evsel->counts->cpu[0].val != nr_open_calls) {
312 nr_open_calls, evsel->counts->cpu[0].val);
330 int err = -1, fd, cpu; local
375 for (cpu = 0; cpu < cpus->nr; ++cpu) {
376 unsigned int ncalls = nr_open_calls + cpu;
383 if (cpus->map[cpu] >= CPU_SETSIZE) {
384 pr_debug("Ignoring CPU %d\n", cpus->map[cpu]);
388 CPU_SET(cpus->map[cpu],
[all...]
H A Dbuiltin-sched.c626 printf("cpu: %0.2f / %0.2f",
730 u32 cpu; member in struct:trace_wakeup_event
761 u32 cpu; member in struct:trace_migrate_task_event
768 int cpu,
775 int cpu,
782 int cpu,
788 int cpu,
795 int cpu,
805 int cpu __used,
832 int cpu,
829 replay_switch_event(struct trace_switch_event *switch_event, struct perf_session *session __used, struct event *event, int cpu, u64 timestamp, struct thread *thread __used) argument
1063 latency_switch_event(struct trace_switch_event *switch_event, struct perf_session *session, struct event *event __used, int cpu, u64 timestamp, struct thread *thread __used) argument
1116 latency_runtime_event(struct trace_runtime_event *runtime_event, struct perf_session *session, struct event *event __used, int cpu, u64 timestamp, struct thread *this_thread __used) argument
1445 int cpu; local
1617 process_raw_event(union perf_event *raw_event __used, struct perf_session *session, void *data, int cpu, u64 timestamp, struct thread *thread) argument
[all...]
/external/chromium-trace/trace-viewer/src/
H A Dlinux_perf_importer.js39 function CpuState(cpu) {
40 this.cpu = cpu;
48 * to the cpu representing the time spent on that Cpu since the last call to
71 this.cpu.slices.push(slice);
141 * or the typical task-pid-cpu-timestamp-function sequence of a typical
184 var cpu = this.model_.getOrCreateCpu(cpuNumber);
185 this.cpuStates_[cpuNumber] = new CpuState(cpu);
260 // Push the cpu slices to the threads that they run on.
263 var cpu
[all...]
/external/chromium-trace/trace-viewer/src/tracks/
H A Dtimeline_model_track.js85 var cpu = cpus[i];
87 track.heading = 'CPU ' + cpu.cpuNumber + ':';
88 track.cpu = cpu;
/external/flac/libFLAC/
H A DAndroid.mk8 cpu.c \
/external/kernel-headers/original/asm-mips/
H A Ddsp.h13 #include <asm/cpu.h>
14 #include <asm/cpu-features.h>
H A Dthread_info.h29 __u32 cpu; /* current CPU */ member in struct:thread_info
50 .cpu = 0, \
/external/linux-tools-perf/scripts/perl/
H A Dcheck-perf-trace.pl102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
/external/oprofile/daemon/
H A Dopd_spu.c65 * the SPU number. For SPU profiling, 'cpu' = 'spu'.
67 trans->cpu = pop_buffer_value(trans);
93 int i = trans->cpu;
103 int i = trans->cpu;
117 if (trans->cpu != spu_number) {
118 trans->cpu = spu_number;
H A Dopd_sfile.h49 unsigned int cpu; member in struct:sfile
H A Dopd_perfmon.c56 #define CPU_SET(cpu, cpusetp) \
57 ((cpusetp)->__bits[(cpu)/__NCPUBITS] |= (1UL << ((cpu) % __NCPUBITS)))
148 static void set_affinity(size_t cpu) argument
154 CPU_SET(cpu, &set);
204 /** create the per-cpu context */
297 static void notify_parent(struct child * self, size_t cpu) argument
301 ret = write(self->up_pipe[1], &cpu, sizeof(size_t));
317 static void run_child(size_t cpu) argument
319 struct child * self = &children[cpu];
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_processes_api.cc31 double cpu,
38 result->SetDouble(keys::kCpuKey, cpu);
120 double cpu = model_->GetCPUUsage(i); local
133 CreateProcessValue(id, type, cpu, net, pr_mem, sh_mem));
29 CreateProcessValue(int process_id, const std::string& type, double cpu, int64 net, int64 pr_mem, int64 sh_mem) argument

Completed in 413 milliseconds

12345678910