Searched refs:n_threads (Results 1 – 13 of 13) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
D | tgkill01.c | 24 static int n_threads = 10; variable 63 TST_CHECKPOINT_WAKE2(1, n_threads); in stop_threads() 65 for (i = 0; i < n_threads; i++) { in stop_threads() 81 for (i = 0; i < n_threads; i++) { in run() 106 if (tst_parse_int(str_threads, &n_threads, 1, INT_MAX)) in setup() 109 threads = SAFE_MALLOC(sizeof(*threads) * n_threads); in setup() 116 for (i = 0; i < n_threads; i++) in setup() 119 for (i = 0; i < n_threads; i++) in setup()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-6.c | 50 static int n_threads; variable 100 pthread_t threads[n_threads]; in run_hp_threads() 108 it.it_value.tv_sec = n_threads / 20; in run_hp_threads() 109 it.it_value.tv_usec = (n_threads % 20) * 50000; in run_hp_threads() 123 for (i = 0; i < n_threads; i++) { in run_hp_threads() 139 for (i = 0; i < n_threads; i++) in run_hp_threads() 241 n_threads = get_ncpu(); in main() 242 if (n_threads == -1) { in main() 247 n_threads); in main() 250 n_threads = 1; in main()
|
/third_party/libunwind/libunwind/src/coredump/ |
D | _UCD_get_threadinfo_prstatus.c | 65 memcpy(&ui->threads[ui->n_threads], desc, sizeof(struct PRSTATUS_STRUCT)); in _save_thread_notes() 66 ++ui->n_threads; in _save_thread_notes() 105 size_t new_size = sizeof(struct PRSTATUS_STRUCT) * (ui->n_threads + thread_count); in _UCD_get_threadinfo()
|
D | _UCD_create.c | 215 if (ui->n_threads == 0) in _UCD_create() 232 return ui->n_threads; in _UCD_get_num_threads() 237 if (n >= 0 && n < ui->n_threads) in _UCD_select_thread()
|
D | _UCD_internal.h | 94 int n_threads; member
|
/third_party/ffmpeg/libavfilter/ |
D | vf_libvmaf.c | 51 int n_threads; member 76 …number of threads to be used when computing vmaf.", OFFSET(n_threads), AV_OPT_TYPE_IN… 517 .n_threads = s->n_threads, in init()
|
/third_party/python/Lib/test/ |
D | test_queue.py | 467 def run_threads(self, n_threads, q, inputs, feed_func, consume_func): argument 485 for i in range(n_threads)] 488 for i in range(n_threads)]
|
/third_party/ffmpeg/libavcodec/ |
D | libdav1d.c | 246 s.n_threads = FFMAX(dav1d->frame_threads, dav1d->tile_threads); in libdav1d_init() 248 s.n_threads = FFMIN(threads, DAV1D_MAX_THREADS); in libdav1d_init() 251 s.n_threads, s.max_frame_delay); in libdav1d_init()
|
/third_party/rust/crates/once_cell/tests/ |
D | it.rs | 378 let n_threads = if cfg!(miri) { 30 } else { 1_000 }; in get_or_init_stress() localVariable 380 let cells: Vec<_> = std::iter::repeat_with(|| (Barrier::new(n_threads), OnceCell::new())) in get_or_init_stress() 384 for t in 0..n_threads { in get_or_init_stress()
|
/third_party/benchmark/src/ |
D | benchmark.cc | 161 const std::vector<int64_t>& ranges, int thread_i, int n_threads, in State() argument 174 threads_(n_threads), in State()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_lookup_test.cc | 689 const std::size_t n_threads = 128; in TEST() local 691 std::vector<std::set<std::string>> thread_failures(n_threads); in TEST() 692 for (std::size_t i = 0; i != n_threads; ++i) { in TEST()
|
/third_party/benchmark/include/benchmark/ |
D | benchmark.h | 966 const std::vector<int64_t>& ranges, int thread_i, int n_threads,
|
/third_party/ffmpeg/doc/ |
D | filters.texi | 15853 @item n_threads
|