Lines Matching defs:index

150 	int index;
207 for (index = 0; index< _iterations; index++) {
210 fprintf(stdout, "server thread %d loop %d\n", *id, index);
218 index, *id);
229 fprintf(stderr, "Error reading client data for iteration %d in server thread %d\n", index, *id );
240 fprintf(stderr, "Error sending client data for iteration %d in server thread %d\n", index, *id );
281 int index;
309 for (index = 0; index< _iterations; index++) {
312 fprintf(stdout, "client thread %d loop %d\n", *id, index);
318 index, *id);
329 index, *id);
340 fprintf(stderr, "Error sending client data for iteration %d in client thread %d\n", index, *id );
350 fprintf(stderr, "Error reading server data for iteration %d in client thread %d (read %d bytes)\n", index, *id, bytes );
379 int index;
382 for (index=0; index<_threads; index++) {
386 *id = index;
395 fprintf(stderr, "Error creating server thread %d\n", index);
515 int index;
524 for (index=0; index<_threads_max*2; index+=2) {
528 index, timer_data[index].requests, timer_data[index].d_connect,
529 timer_data[index].d_cl_data, timer_data[index].d_sv_data,
530 timer_data[index].d_close, timer_data[index].d_total);
532 tot_connect += timer_data[index].d_connect / _threads;
533 tot_cl_data += timer_data[index].d_cl_data / _threads;
534 tot_sv_data += timer_data[index].d_sv_data / _threads;
535 tot_close += timer_data[index].d_close / _threads;
536 tot_all += timer_data[index].d_total / _threads;
537 tot_requests += timer_data[index].requests / _threads;
547 for (index=1; index<_threads_max*2; index+=2) {
551 index, timer_data[index].requests, timer_data[index].d_connect,
552 timer_data[index].d_cl_data, timer_data[index].d_sv_data,
553 timer_data[index].d_close, timer_data[index].d_total);
555 tot_connect += timer_data[index].d_connect / _threads;
556 tot_cl_data += timer_data[index].d_cl_data / _threads;
557 tot_sv_data += timer_data[index].d_sv_data / _threads;
558 tot_close += timer_data[index].d_close / _threads;
559 tot_all += timer_data[index].d_total / _threads;
560 tot_requests += timer_data[index].requests / _threads;