src/parasol/inc/paraLib.h 1.26

1.26 2009/12/04 23:50:23 markd
added -cpu and -ram to the parasol add jobs command
Index: src/parasol/inc/paraLib.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/parasol/inc/paraLib.h,v
retrieving revision 1.25
retrieving revision 1.26
diff -b -B -U 4 -r1.25 -r1.26
--- src/parasol/inc/paraLib.h	21 May 2008 21:59:37 -0000	1.25
+++ src/parasol/inc/paraLib.h	4 Dec 2009 23:50:23 -0000	1.26
@@ -61,8 +61,13 @@
 /* daemonize parasol server process, closing open file descriptors and
  * starting logging based on the -logFacility and -log command line options .
  * if -debug is supplied , don't fork. */
 
+long long paraParseRam(char *ram);
+/* Parse RAM expression like 2000000, 2t, 2g, 2m, 2k
+ * Returns long long number of bytes, or -1 for error
+ * The value of input variable ram may be modified. */
+
 
 #define NORMAL_PRIORITY 10   /* 1 is highest priority */
 #define MAX_PRIORITY 10000   /* 10000 is the lowest priority */