[or-cvs] compress end-of-second summary into one line

Roger Dingledine arma at seul.org
Thu Apr 15 22:09:16 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	command.c 
Log Message:
compress end-of-second summary into one line


Index: command.c
===================================================================
RCS file: /home/or/cvsroot/src/or/command.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- command.c	8 Apr 2004 02:24:06 -0000	1.58
+++ command.c	15 Apr 2004 22:09:14 -0000	1.59
@@ -46,11 +46,11 @@
 
   if(now > current_second) { /* the second has rolled over */
     /* print stats */
-    log(LOG_INFO,"At end of second:");
-    log(LOG_INFO,"Create:    %d (%d ms)", num_create, create_time/1000);
-    log(LOG_INFO,"Created:   %d (%d ms)", num_created, created_time/1000);
-    log(LOG_INFO,"Relay:     %d (%d ms)", num_relay, relay_time/1000);
-    log(LOG_INFO,"Destroy:   %d (%d ms)", num_destroy, destroy_time/1000);
+    log(LOG_INFO,"At end of second: %d creates (%d ms), %d createds (%d ms), %d relays (%d ms), %d destroys (%d ms)",
+      num_create, create_time/1000,
+      num_created, created_time/1000,
+      num_relay, relay_time/1000,
+      num_destroy, destroy_time/1000);
 
     /* zero out stats */
     num_create = num_created = num_relay = num_destroy = 0;



More information about the tor-commits mailing list