e37af94374417fa6f35f3b8a9a9629226905610a
hiram
  Tue Jul 11 15:31:54 2017 -0700
would like to have vmPeak value to decide on memory usage refs #18969

diff --git src/inc/obscure.h src/inc/obscure.h
index a8086db..a99aff1 100644
--- src/inc/obscure.h
+++ src/inc/obscure.h
@@ -175,30 +175,33 @@
 void dotForUser();
 /* Write out a dot every _dotForUserMod times this is called. */
 
 void spaceToUnderbar(char *s);
 /* Convert white space to underbar. */
 
 void rangeRoundUp(double start, double end, double *retStart, double *retEnd);
 /* Round start and end so that they cover a slightly bigger range, but with more round
  * numbers.  For instance 0.23:9.89 becomes 0:10 */
 
 void rangeFromMinMaxMeanStd(double minVal, double maxVal, double mean, double std,
 	double *retStart, double *retEnd);
 /* Given some basic statistical properties, set a range that will be good on a wide
  * range of biological data. */
 
+long long currentVmPeak();
+/* return value of peak Vm memory usage (if /proc/ business exists) */
+
 void printVmPeak();
 /* print to stderr peak Vm memory usage (if /proc/ business exists) */
 
 boolean nameInCommaList(char *name, char *commaList);
 /* Return TRUE if name is in comma separated list. */
 
 boolean endsWithWordComma(char *string, char *word);
 /* Return TRUE if string ends with word possibly followed by a comma, and the beginning
  * of word within string is the beginning of string or follows a comma. */
 
 void ensureNamesCaseUnique(struct slName *fieldList);
 /* Ensure that there would be no name conflicts in fieldList if all fields were lower-cased. */
 
 boolean readAndIgnore(char *fileName);
 /* Read a byte from fileName, so its access time is updated. */