Home
last modified time | relevance | path

Searched refs:nthreads (Results 1 – 15 of 15) sorted by relevance

/external/linux-tools-perf/src/tools/perf/util/
Devsel.h136 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads);
137 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads);
143 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads);
159 int perf_evsel__set_filter(struct perf_evsel *evsel, int ncpus, int nthreads,
161 int perf_evsel__enable(struct perf_evsel *evsel, int ncpus, int nthreads);
169 void perf_evsel__close(struct perf_evsel *evsel, int ncpus, int nthreads);
229 int __perf_evsel__read(struct perf_evsel *evsel, int ncpus, int nthreads,
240 int ncpus, int nthreads) in perf_evsel__read() argument
242 return __perf_evsel__read(evsel, ncpus, nthreads, false); in perf_evsel__read()
253 int ncpus, int nthreads) in perf_evsel__read_scaled() argument
[all …]
Devsel.c700 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd() argument
703 evsel->fd = xyarray__new(ncpus, nthreads, sizeof(int)); in perf_evsel__alloc_fd()
707 for (thread = 0; thread < nthreads; thread++) { in perf_evsel__alloc_fd()
716 static int perf_evsel__run_ioctl(struct perf_evsel *evsel, int ncpus, int nthreads, in perf_evsel__run_ioctl() argument
722 for (thread = 0; thread < nthreads; thread++) { in perf_evsel__run_ioctl()
734 int perf_evsel__set_filter(struct perf_evsel *evsel, int ncpus, int nthreads, in perf_evsel__set_filter() argument
737 return perf_evsel__run_ioctl(evsel, ncpus, nthreads, in perf_evsel__set_filter()
742 int perf_evsel__enable(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__enable() argument
744 return perf_evsel__run_ioctl(evsel, ncpus, nthreads, in perf_evsel__enable()
749 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id() argument
[all …]
Devlist.c774 nthreads = thread_map__nr(evlist->threads); in perf_evlist__apply_filters() local
780 err = perf_evsel__set_filter(evsel, ncpus, nthreads, evsel->filter); in perf_evlist__apply_filters()
793 nthreads = thread_map__nr(evlist->threads); in perf_evlist__set_filter() local
796 err = perf_evsel__set_filter(evsel, ncpus, nthreads, filter); in perf_evlist__set_filter()
929 int nthreads = thread_map__nr(evlist->threads); in perf_evlist__close() local
932 perf_evsel__close(evsel, ncpus, nthreads); in perf_evlist__close()
/external/fio/profiles/
Dtiobench.c8 static unsigned int nthreads = 1; variable
29 unsigned int nthreads; member
77 .off1 = offsetof(struct tiobench_options, nthreads),
109 sprintf(t_idx, "numjobs=%u", nthreads); in tb_prep_cmdline()
/external/valgrind/drd/tests/
Dannotate_smart_pointer.cpp309 const int nthreads = std::max(argc > 1 ? atoi(argv[1]) : 1, 1); in main() local
315 std::vector<Thread> T(nthreads); in main()
/external/jemalloc/src/
Djemalloc.c435 arena->nthreads++; in arena_bind_locked()
458 oldarena->nthreads--; in arena_migrate()
459 newarena->nthreads++; in arena_migrate()
467 unsigned nthreads; in arena_nbound() local
470 nthreads = arenas[ind]->nthreads; in arena_nbound()
472 return (nthreads); in arena_nbound()
482 arena->nthreads--; in arena_unbind()
576 if (arenas[i]->nthreads < in arena_choose_hard()
577 arenas[choose]->nthreads) in arena_choose_hard()
593 if (arenas[choose]->nthreads == 0 in arena_choose_hard()
Dstats.c258 unsigned nthreads; in stats_arena_print() local
273 CTL_M2_GET("stats.arenas.0.nthreads", i, &nthreads, unsigned); in stats_arena_print()
275 "assigned threads: %u\n", nthreads); in stats_arena_print()
Dctl.c631 sstats->nthreads += astats->nthreads; in ctl_arena_refresh()
697 ctl_stats.arenas[ctl_stats.narenas].nthreads = 0; in ctl_refresh()
711 ctl_stats.arenas[i].nthreads = arena_nbound(i); in ctl_refresh()
713 ctl_stats.arenas[i].nthreads = 0; in ctl_refresh()
2008 CTL_RO_GEN(stats_arenas_i_nthreads, ctl_stats.arenas[mib[2]].nthreads, unsigned) in CTL_RO_NL_CGEN()
Darena.c2814 arena->nthreads = 0; in arena_new()
/external/jemalloc/include/jemalloc/internal/
Dctl.h35 unsigned nthreads; member
Darena.h275 unsigned nthreads; member
/external/opencv/cv/src/
Dcvsurf.cpp338 int nthreads = cvGetNumThreads(); in cvExtractSURF() local
339 #pragma omp parallel for num_threads(nthreads) schedule(dynamic) in cvExtractSURF()
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-stat.c429 nthreads = thread_map__nr(evsel_list->threads); in handle_initial_delay() local
433 perf_evsel__enable(counter, ncpus, nthreads); in handle_initial_delay()
/external/jemalloc/test/unit/
Dmallctl.c597 TEST_STATS_ARENAS(unsigned, nthreads); in TEST_BEGIN()
/external/llvm/test/CodeGen/PowerPC/
Dpr17168.ll75 !18 = !MDLocalVariable(tag: DW_TAG_auto_variable, name: "nthreads", line: 77, scope: !4, file: !5, …