Searched refs:num_writers (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/mojo/public/c/system/tests/ |
D | core_perftest.cc | 156 void DoMessagePipeThreadedTest(unsigned num_writers, in DoMessagePipeThreadedTest() argument 161 assert(num_writers > 0); in DoMessagePipeThreadedTest() 169 for (unsigned i = 0; i < num_writers; i++) in DoMessagePipeThreadedTest() 180 for (unsigned i = 0; i < num_writers || i < num_readers; i++) { in DoMessagePipeThreadedTest() 181 if (i < num_writers) in DoMessagePipeThreadedTest() 196 for (unsigned i = 0; i < num_writers; i++) in DoMessagePipeThreadedTest() 206 for (unsigned i = 0; i < num_writers; i++) { in DoMessagePipeThreadedTest() 219 sprintf(sub_test_name, "%uw_%ur_%ubytes", num_writers, num_readers, in DoMessagePipeThreadedTest()
|
/external/ltp/testcases/kernel/ipc/pipeio/ |
D | pipeio.c | 98 static int num_writers = 1; /* number of writers */ variable 138 for (i = num_writers; i > 0; --i) { in main() 209 if (sscanf(optarg, "%d", &num_writers) != 1) { in parse_options() 214 } else if (num_writers <= 0) { in parse_options() 435 if (size > PIPE_BUF && num_writers > 1) { in setup() 443 INT_MAX / num_writers); in setup() 637 .sem_num = 1, .sem_op = num_writers, .sem_flg = 0}; in do_parent() 644 .sem_num = 0, .sem_op = -num_writers, .sem_flg = 0}; in do_parent() 646 while (nchildcompleted < num_writers in do_parent() 655 for (i = num_writers * num_writes; i > 0 || loop; --i) { in do_parent() [all …]
|
/external/ltp/testcases/kernel/device-drivers/rcu/ |
D | rcu_torture.sh | 34 num_writers=5 46 w) num_writers=$OPTARG ;; 88 modprobe rcutorture nfakewriters=$num_writers \
|
/external/perfetto/src/tracing/core/ |
D | trace_buffer_unittest.cc | 185 for (int8_t num_writers = 1; num_writers <= 10; num_writers++) { in TEST_F() local 187 for (char i = 1; i <= num_writers; i++) { in TEST_F() 195 for (char i = 1; i <= num_writers; i++) in TEST_F()
|