81881fe298580da38c5bdb7764c05c03ec278b97
hiram
  Fri Jan 4 11:54:10 2013 -0800
adding cgiExitTime stderr printout to CGI binaries for apache error_log information
diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c
index c9def25..69c8305 100644
--- src/hg/hgSession/hgSession.c
+++ src/hg/hgSession/hgSession.c
@@ -1272,21 +1272,23 @@
     }
 else
     {
     char *message = doUpdateSessions();
     doMainPage(message);
     }
 
 cleanHgSessionFromCart(cart);
 /* Save the cart state: */
 cartCheckout(&cart);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
+long enteredMainTime = clock1000();
 htmlPushEarlyHandlers();
 cgiSpoof(&argc, argv);
 hgSession();
+cgiExitTime("hgSession", enteredMainTime);
 return 0;
 }