Home
last modified time | relevance | path

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

/external/ltp/testcases/network/netstress/
Dnetstress.c85 static int clients_num; variable
460 if (clients_num >= MAX_THREADS) { in client_init()
462 clients_num); in client_init()
465 thread_ids = SAFE_MALLOC(sizeof(pthread_t) * clients_num); in client_init()
485 for (i = 0; i < clients_num; ++i) in client_init()
494 for (i = 0; i < clients_num; ++i) { in client_run()
848 if (tst_parse_int(aarg, &clients_num, 1, INT_MAX)) in setup()
878 if (!clients_num) in setup()
879 clients_num = sysconf(_SC_NPROCESSORS_ONLN); in setup()
897 tst_res(TINFO, "clients num: %d", clients_num); in setup()