Searched refs:nthreads (Results 1 – 4 of 4) sorted by relevance
/external/linux-tools-perf/util/ |
D | evsel.h | 84 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads); 85 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads); 89 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads); 131 int __perf_evsel__read(struct perf_evsel *evsel, int ncpus, int nthreads, 142 int ncpus, int nthreads) in perf_evsel__read() argument 144 return __perf_evsel__read(evsel, ncpus, nthreads, false); in perf_evsel__read() 155 int ncpus, int nthreads) in perf_evsel__read_scaled() argument 157 return __perf_evsel__read(evsel, ncpus, nthreads, true); in perf_evsel__read_scaled()
|
D | evsel.c | 52 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd() argument 55 evsel->fd = xyarray__new(ncpus, nthreads, sizeof(int)); in perf_evsel__alloc_fd() 59 for (thread = 0; thread < nthreads; thread++) { in perf_evsel__alloc_fd() 68 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id() argument 70 evsel->sample_id = xyarray__new(ncpus, nthreads, sizeof(struct perf_sample_id)); in perf_evsel__alloc_id() 74 evsel->id = zalloc(ncpus * nthreads * sizeof(u64)); in perf_evsel__alloc_id() 105 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__close_fd() argument 110 for (thread = 0; thread < nthreads; ++thread) { in perf_evsel__close_fd() 160 int ncpus, int nthreads, bool scale) in __perf_evsel__read() argument 169 for (thread = 0; thread < nthreads; thread++) { in __perf_evsel__read()
|
/external/valgrind/main/drd/tests/ |
D | annotate_smart_pointer.cpp | 308 const int nthreads = std::max(argc > 1 ? atoi(argv[1]) : 1, 1); in main() local 314 Thread T[nthreads]; in main() 318 for (int i = 0; i < nthreads; ++i) in main() 327 for (int i = 0; i < nthreads; ++i) in main()
|
/external/opencv/cv/src/ |
D | cvsurf.cpp | 338 int nthreads = cvGetNumThreads(); in cvExtractSURF() local 339 #pragma omp parallel for num_threads(nthreads) schedule(dynamic) in cvExtractSURF()
|