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

12345678910

/external/skia/tools/flags/
H A DSkCommonFlags.cpp15 DEFINE_bool(cpu, true, "master switch for running CPU-bound work.");
/external/linux-tools-perf/src/tools/perf/tests/
H A Dattr.c67 static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu, argument
92 __WRITE_ASS(cpu, "d", cpu);
137 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, argument
142 if (store_event(attr, pid, cpu, fd, group_fd, flags))
/external/fio/
H A Dconfigure131 cpu=""
143 --cpu=*) cpu="$optarg"
181 echo "--cpu= Specify target CPU if auto-detect fails"
220 # the correct CPU with the --cpu option.
228 if test -z "$cpu" && test "$(sysctl -n hw.optional.x86_64)" = "1"; then
229 cpu="x86_64"
234 if test -z "$cpu" && test "$(isainfo -k)" = "amd64"; then
235 cpu="x86_64"
274 if test ! -z "$cpu" ; the
[all...]
/external/linux-tools-perf/src/tools/perf/util/
H A Devsel.c318 "cpu-clock",
322 "cpu-migrations",
702 int cpu, thread; local
706 for (cpu = 0; cpu < ncpus; cpu++) {
708 FD(evsel, cpu, thread) = -1;
719 int cpu, thread; local
721 for (cpu = 0; cpu < ncpu
794 int cpu, thread; local
826 compute_deltas(struct perf_evsel *evsel, int cpu, struct perf_counts_values *count) argument
848 __perf_evsel__read_on_cpu(struct perf_evsel *evsel, int cpu, int thread, bool scale) argument
881 int cpu, thread; local
923 get_group_fd(struct perf_evsel *evsel, int cpu, int thread) argument
1005 int cpu, thread; local
[all...]
H A Devsel.h28 struct perf_counts_values cpu[]; member in struct:perf_counts
201 int cpu, int thread, bool scale);
207 * @cpu - CPU of interest
211 int cpu, int thread)
213 return __perf_evsel__read_on_cpu(evsel, cpu, thread, false);
220 * @cpu - CPU of interest
224 int cpu, int thread)
226 return __perf_evsel__read_on_cpu(evsel, cpu, thread, true);
210 perf_evsel__read_on_cpu(struct perf_evsel *evsel, int cpu, int thread) argument
223 perf_evsel__read_on_cpu_scaled(struct perf_evsel *evsel, int cpu, int thread) argument
/external/google-breakpad/src/client/linux/microdump_writer/
H A Dmicrodump_writer.cc256 RawContextCPU cpu;
257 my_memset(&cpu, 0, sizeof(RawContextCPU));
259 UContextReader::FillCPUContext(&cpu, ucontext_, float_state_);
261 UContextReader::FillCPUContext(&cpu, ucontext_);
264 SeccompUnwinder::PopSeccompStackFrame(&cpu, thread, stack_copy);
265 DumpCPUState(&cpu);
270 void DumpCPUState(RawContextCPU* cpu) { argument
272 LogAppend(cpu, sizeof(*cpu));
/external/linux-tools-perf/src/tools/perf/bench/
H A Dnuma.c187 OPT_CALLBACK('C', "cpus", NULL, "cpu[,cpu2,...cpuN]",
217 int cpu; local
219 for (cpu = 0; cpu < g->p.nr_cpus; cpu++)
220 CPU_SET(cpu, &mask);
236 int cpu; local
248 for (cpu = 0; cpu < g->p.nr_cpus; cpu
511 int cpu; local
788 unsigned int cpu; local
900 int cpu; local
1277 int cpu; local
[all...]
/external/boringssl/src/crypto/
H A Dcpu-intel.c61 #include <openssl/cpu.h>
71 /* OPENSSL_ia32_cpuid is defined in cpu-x86_64-asm.pl. */
/external/lldb/source/Plugins/UnwindAssembly/x86/
H A DUnwindAssembly-x86.h66 UnwindAssembly_x86 (const lldb_private::ArchSpec &arch, int cpu);
/external/skia/tools/
H A DPictureBenchmark.h53 void setTimersToShow(bool wall, bool truncatedWall, bool cpu, bool truncatedCpu, bool gpu);
/external/webp/src/
H A DAndroid.mk22 dsp/cpu-features.c \
23 dsp/cpu.c \
95 dsp/cpu-features.c \
96 dsp/cpu.c \
/external/blktrace/
H A Dblkparse.c306 #define CPU_IDX(cpu) ((cpu) / CPUS_PER_LONG)
307 #define CPU_BIT(cpu) ((cpu) & (CPUS_PER_LONG - 1))
321 static void resize_cpu_info(struct per_dev_info *pdi, int cpu) argument
325 int new_count = cpu + 1;
357 static struct per_cpu_info *get_cpu_info(struct per_dev_info *pdi, int cpu) argument
361 if (cpu >= pdi->ncpus)
362 resize_cpu_info(pdi, cpu);
364 pci = &pdi->cpus[cpu];
485 int cpu; local
504 cpu_mark_online(struct per_dev_info *pdi, unsigned int cpu) argument
524 cpu_mark_offline(struct per_dev_info *pdi, int cpu) argument
529 cpu_is_online(struct per_dev_info *pdi, int cpu) argument
1959 int ret, cpu; local
2246 unsigned int cpu; member in struct:ms_stream
2393 ms_alloc(struct per_dev_info *pdi, int cpu) argument
2408 setup_file(struct per_dev_info *pdi, int cpu) argument
2507 int i, cpu, ret; local
[all...]
H A Dblktrace.h42 unsigned int cpu; member in struct:per_cpu_info
117 t->cpu = be16_to_cpu(t->cpu);
/external/fio/os/
H A Dos-linux.h63 #define fio_cpu_clear(mask, cpu) (void) CPU_CLR((cpu), (mask))
64 #define fio_cpu_set(mask, cpu) (void) CPU_SET((cpu), (mask))
65 #define fio_cpu_isset(mask, cpu) CPU_ISSET((cpu), (mask))
229 "/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size"
H A Dos-windows.h203 static inline void fio_cpu_clear(os_cpu_mask_t *mask, int cpu) argument
205 *mask ^= 1 << (cpu-1);
208 static inline void fio_cpu_set(os_cpu_mask_t *mask, int cpu) argument
210 *mask |= 1 << cpu;
213 static inline int fio_cpu_isset(os_cpu_mask_t *mask, int cpu) argument
215 return (*mask & (1U << cpu));
/external/google-breakpad/src/processor/
H A Dsynth_minidump.cc72 // MDCPUInformation cpu;
74 D32(system_info.cpu.x86_cpu_info.vendor_id[0]);
75 D32(system_info.cpu.x86_cpu_info.vendor_id[1]);
76 D32(system_info.cpu.x86_cpu_info.vendor_id[2]);
77 D32(system_info.cpu.x86_cpu_info.version_information);
78 D32(system_info.cpu.x86_cpu_info.feature_information);
79 D32(system_info.cpu.x86_cpu_info.amd_extended_cpu_features);
81 D32(system_info.cpu.arm_cpu_info.cpuid);
82 D32(system_info.cpu.arm_cpu_info.elf_hwcaps);
84 D64(system_info.cpu
[all...]
H A Dstackwalk_common.cc118 const std::string &cpu,
125 if (cpu == "x86") {
135 } else if (cpu == "amd64") {
147 } else if (cpu == "arm") {
157 } else if (cpu == "arm64") {
250 // If |cpu| is a recognized CPU name, relevant register state for each stack
253 const string &cpu,
291 if (cpu == "x86") {
313 } else if (cpu == "ppc") {
321 } else if (cpu
115 PrintStackContents(const std::string &indent, const StackFrame *frame, const StackFrame *prev_frame, const std::string &cpu, const MemoryRegion *memory, const CodeModules* modules, SourceLineResolverInterface *resolver) argument
252 PrintStack(const CallStack *stack, const string &cpu, bool output_stack_contents, const MemoryRegion* memory, const CodeModules* modules, SourceLineResolverInterface* resolver) argument
791 string cpu = process_state.system_info()->cpu; local
[all...]
H A Dstackwalker.cc204 uint32_t cpu = context->GetContextCPU();
205 switch (cpu) {
262 BPLOG_IF(ERROR, !cpu_stackwalker) << "Unknown CPU type " << HexString(cpu) <<
/external/blktrace/btreplay/
H A Dbtrecord.c50 * @cpu: CPU that this file was collected on
57 int cpu, ifd; member in struct:ifile_info
303 * @cpu: CPU for this file
307 static void __add_input_file(int cpu, char *devnm, char *file_name) argument
311 iip->cpu = cpu;
332 int cpu, found = 0; local
340 for (cpu = 0; ; cpu++) {
343 sprintf(full_name, "%s/%s.blktrace.%d", idir, devnm, cpu);
[all...]
H A Dbtreplay.c98 * @cpu: CPU this thread is pinned to
113 int cpu, ifd, ofd, iterations; member in struct:thr_info
532 assert(0 <= tip->cpu && tip->cpu < ncpus);
535 CPU_SET(tip->cpu, &cpus);
546 fprintf(tip->vfp, "Pinned to CPU %02d ", tip->cpu);
790 tip->cpu);
852 * @cpu: CPU for this file
856 static void add_input_file(int cpu, char *devnm, char *file_name) argument
863 assert(0 <= cpu
961 int cpu = 0; local
[all...]
/external/netperf/
H A Dnetcpu_kstat.c48 need to pull the cpu info from
190 get_kstat_idle(cpu)
191 int cpu;
200 cpu_ks[cpu]);
203 nkcid = kstat_read(kc, cpu_ks[cpu], &cpu_stat);
207 return(cpu_stat.cpu_sysinfo.cpu[CPU_IDLE]);
353 /* the one that the user want for the cpu utilization */
/external/blktrace/btt/
H A Dmmap.c67 tp->cpu = be16_to_cpu(t->cpu);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dsizeofpack.cpp163 struct cpu { using value_type = void; }; struct in namespace:pr15112
176 auto c1 = mkcoords<cpu>(0ul, 0ul, 0ul);
/external/llvm/test/MC/MachO/ARM/
H A Dbad-darwin-directives.s12 .cpu
/external/google-breakpad/src/client/linux/minidump_writer/
H A Dminidump_writer.cc377 TypedMDRVA<RawContextCPU> cpu(&minidump_writer_);
378 if (!cpu.Allocate())
380 my_memset(cpu.get(), 0, sizeof(RawContextCPU));
382 UContextReader::FillCPUContext(cpu.get(), ucontext_, float_state_);
384 UContextReader::FillCPUContext(cpu.get(), ucontext_);
387 SeccompUnwinder::PopSeccompStackFrame(cpu.get(), thread, stack_copy);
388 thread.thread_context = cpu.location();
389 crashing_thread_context_ = cpu.location();
403 TypedMDRVA<RawContextCPU> cpu(&minidump_writer_);
404 if (!cpu
[all...]

Completed in 781 milliseconds

12345678910