2037f9e6b4e6a2a9445a162809e88aa96703312c
markd
  Tue Apr 13 00:24:40 2021 -0700
log dynamic gfServer clock, user, and system times to help understand performance

diff --git src/inc/common.h src/inc/common.h
index fa2788a..ae03895 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1581,16 +1581,28 @@
 // Is this string date older than now by this many seconds?
 
 char *dateAddTo(char *date,char *format,int addYears,int addMonths,int addDays);
 /* Add years,months,days to a formatted date and returns the new date as a cloned string
 *  format is a strptime/strftime format: %F = yyyy-mm-dd */
 
 unsigned dayOfYear();
 /* Return the day of the year. */
 
 boolean haplotype(const char *name);
 /* Is this name a haplotype name ?  _hap or _alt in the name */
 
 char *shorterDouble(double value);
 /* Work around a "bug" in %g output that goes into scientific notation too early. */
 
+struct runTimes
+/* clock time since epoch, user CPU, and system CPU, in seconds */
+{
+    double clockSecs;
+    double userSecs;
+    double sysSecs;
+};
+
+struct runTimes getTimesInSeconds(void);
+/* get the current clock time since epoch, process user CPU, and system CPU times, all in
+ * seconds. */
+
 #endif /* COMMON_H */