22a3ef6f04cf6c4817d90bb5d1dc869a3390a811 larrym Wed Aug 10 00:39:29 2011 -0700 put span's around uglyTime's so we can manipulate them client side diff --git src/lib/common.c src/lib/common.c index 958fae0..24058ea 100644 --- src/lib/common.c +++ src/lib/common.c @@ -3213,32 +3213,33 @@ /* Return "true" or "false" */ { return (b ? "true" : "false"); } void uglyTime(char *label, ...) /* Print label and how long it's been since last call. Call with * a NULL label to initialize. */ { static long lastTime = 0; long time = clock1000(); va_list args; va_start(args, label); if (label != NULL) { + fprintf(stdout, "<span class='timing'>"); vfprintf(stdout, label, args); - fprintf(stdout, ": %ld millis<BR>\n", time - lastTime); + fprintf(stdout, ": %ld millis<BR></span>\n", time - lastTime); } lastTime = time; va_end(args); } void makeDirs(char* path) /* make a directory, including parent directories */ { char pathBuf[PATH_LEN]; char* next = pathBuf; strcpy(pathBuf, path); if (*next == '/') next++;