fff1743e23bb709b7473a48b67895d3ace431ac8
hiram
  Fri Jan 4 11:35:50 2013 -0800
adding cgiExitTime printout to a number of CGI binaries
diff --git src/hg/hgTables/hgTables.c src/hg/hgTables/hgTables.c
index 3ed250c..cb77776 100644
--- src/hg/hgTables/hgTables.c
+++ src/hg/hgTables/hgTables.c
@@ -1994,19 +1994,18 @@
 /* Save variables. */
 cartCheckout(&cart);
 }
 
 int main(int argc, char *argv[])
 /* Process command line. */
 {
 long enteredMainTime = clock1000();
 pushCarefulMemHandler(LIMIT_2or6GB);
 htmlPushEarlyHandlers(); /* Make errors legible during initialization. */
 cgiSpoof(&argc, argv);
 
 hgTables();
 
 textOutClose(&compressPipeline);
-fprintf(stderr, "CGI_TIME: hgTables: Overall total time: %ld millis\n",
-        clock1000() - enteredMainTime);
+cgiExitTime("hgTables", enteredMainTime);
 return 0;
 }