Lines Matching refs:thread
705 int cpu, thread, i = 0;
713 for (thread = 0; thread < nthreads; thread++) {
717 val += perf_counts(counter->counts, cpu, thread)->val;
718 ena += perf_counts(counter->counts, cpu, thread)->ena;
719 run += perf_counts(counter->counts, cpu, thread)->run;
725 * Skip value 0 when enabling --per-thread globally,
732 buf[i].id = thread;
755 int thread, sorted_threads, id;
760 perror("cannot sort aggr thread");
764 for (thread = 0; thread < sorted_threads; thread++) {
768 id = buf[thread].id;
770 printout(config, id, 0, buf[thread].counter, buf[thread].uval,
771 prefix, buf[thread].run, buf[thread].ena, 1.0,
774 printout(config, id, 0, buf[thread].counter, buf[thread].uval,
775 prefix, buf[thread].run, buf[thread].ena, 1.0,
1041 fprintf(output, "thread id \'%s", _target->tid);