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/hgGenome/hgGenome.c src/hg/hgGenome/hgGenome.c
index 91e8e22..103af99 100644
--- src/hg/hgGenome/hgGenome.c
+++ src/hg/hgGenome/hgGenome.c
@@ -555,25 +555,27 @@
     return;
     }
 
 hFreeConn(&conn);
 
 /* For other cases we want to print out some of the usual HTTP
  * lines including content-type */
 hggDoUsualHttp();
 }
 
 char *excludeVars[] = {"Submit", "submit", NULL};
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
+long enteredMainTime = clock1000();
 htmlPushEarlyHandlers();
 cgiSpoof(&argc, argv);
 // htmlSetStyle(htmlStyleUndecoratedLink);
 if (argc != 1)
     usage();
 oldVars = hashNew(12);
 cart = cartForSession(hUserCookie(), excludeVars, oldVars);
 dispatchLocation();
+cgiExitTime("hgGenome", enteredMainTime);
 return 0;
 }