Home
last modified time | relevance | path

Searched refs:cpu_nr (Results 1 – 8 of 8) sorted by relevance

/external/oprofile/module/
Doprofile.c153 uint cpu_nr; in is_ready() local
154 for (cpu_nr = 0 ; cpu_nr < smp_num_cpus; cpu_nr++) { in is_ready()
155 if (oprof_ready[cpu_nr]) { in is_ready()
156 cpu_buffer_waiting = cpu_nr; in is_ready()
257 static int check_buffer_amount(int cpu_nr) in check_buffer_amount() argument
259 struct _oprof_data * data = &oprof_data[cpu_nr]; in check_buffer_amount()
262 if (num < size - data->buf_watermark && oprof_ready[cpu_nr] != 2) { in check_buffer_amount()
274 static int copy_buffer(char * buf, int cpu_nr) in copy_buffer() argument
279 stop_cpu_perfctr(cpu_nr); in copy_buffer()
281 head.cpu_nr = cpu_nr; in copy_buffer()
[all …]
/external/oprofile/daemon/liblegacy/
Dopd_sample_files.c68 int cpu_nr) in opd_mangle_filename() argument
86 values.cpu = cpu_nr; in opd_mangle_filename()
103 int opd_open_24_sample_file(struct opd_image * image, int counter, int cpu_nr) in opd_open_24_sample_file() argument
109 mangled = opd_mangle_filename(image, counter, cpu_nr); in opd_open_24_sample_file()
115 sfile = image->sfiles[cpu_nr][counter]; in opd_open_24_sample_file()
120 image->sfiles[cpu_nr][counter] = sfile; in opd_open_24_sample_file()
Dopd_sample_files.h53 int opd_open_24_sample_file(struct opd_image * image, int counter, int cpu_nr);
Dinit.c270 (unsigned int)opd_buf->count, opd_buf->cpu_nr); in opd_do_samples()
273 cpu_number = opd_buf->cpu_nr; in opd_do_samples()
/external/oprofile/daemon/
Dopd_stats.c69 int cpu_nr; in opd_print_stats() local
71 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1) in opd_print_stats()
75 printf("\n---- Statistics for cpu : %d\n", cpu_nr); in opd_print_stats()
/external/oprofile/libop/
Dop_interface.h51 int cpu_nr; /**< the CPU number of this buffer */ member
/external/oprofile/pp/
Doparchive.cpp83 int cpu_nr; in copy_stats() local
85 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1) in copy_stats()
/external/oprofile/libpp/
Dprofile_spec.cpp473 int cpu_nr; in warn_if_kern_buffs_overflow() local
475 if (sscanf(dirent->d_name, "cpu%d", &cpu_nr) != 1) in warn_if_kern_buffs_overflow()