Lines Matching full:time
141 static int exitNow = 0; /* Set when it's time to exit main */
165 exitNow = 0; /* Set when it's time to exit main */
175 -time arg - max number of seconds to collect data, default %d\n\
192 printf("-new - Just time new connections\n");
193 printf("-reuse - Just time connection reuse\n");
293 else if( strcmp(*argv,"-time") == 0) {
320 * TIME - time functions
394 /* Loop and time how long it takes to make connections */
397 finishtime=(long)time(NULL)+maxTime;
401 if (finishtime < (long)time(NULL)) break;
450 totalTime += tm_Time_F(STOP); /* Add the time for this iteration */
452 i=(int)((long)time(NULL)-finishtime+maxTime);
454 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nConn);
456 /* Now loop and time connections using the same session id over and over */
486 finishtime=(long)time(NULL)+maxTime;
494 if (finishtime < (long)time(NULL)) break;
540 totalTime += tm_Time_F(STOP); /* Add the time for this iteration*/
544 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nConn);