httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/test ab_apr.c
Date Wed, 26 Jan 2000 07:01:14 GMT
bjh         00/01/25 23:01:13

  Modified:    src/lib/apr/test ab_apr.c
  Log:
  timetaken is expected to be in milliseconds, not seconds.
  
  Revision  Changes    Path
  1.16      +2 -2      apache-2.0/src/lib/apr/test/ab_apr.c
  
  Index: ab_apr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/ab_apr.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- ab_apr.c	2000/01/09 05:18:19	1.15
  +++ ab_apr.c	2000/01/26 07:01:10	1.16
  @@ -245,7 +245,7 @@
       int timetaken;
   
       endtime = ap_now();
  -    timetaken = (endtime - start) / AP_USEC_PER_SEC;
  +    timetaken = (endtime - start) / 1000;
   
       printf("\r                                                                        
  \r");
       printf("Server Software:        %s\n", servername);
  @@ -320,7 +320,7 @@
       int timetaken;
   
       endtime = ap_now();
  -    timetaken = (endtime - start) / AP_USEC_PER_SEC;
  +    timetaken = (endtime - start) / 1000;
   
       printf("\n\n<table %s>\n", tablestring);
       printf("<tr %s><th colspan=2 %s>Server Software:</th>"
  
  
  

Mime
View raw message