INCR: Added StartTime and CompletionTime to Gold Charge

git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@113 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
bchristiansen 2009-07-14 17:25:32 +00:00
parent 9c2b651d27
commit 81266a4495
3 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,5 @@
Maui 3.2.6p21
- Added StartTime and CompletionTime to Gold Charge.
- Fixed backfill issue with SINGLEUSER NODEACCESSPOLICY. (Thanks goes to Roy Dragseth)
- N->{A|C}Res.Swap is overcommitted with N->CRes.Swap instead of N->CRes.Mem. (Thanks goes to Roy Dragseth)
- Fixed a nodes configured swap from changing in a maui+pbs setup. (Thanks goes to Gareth Williams of CSIRO)

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT(maui, 3.2.6p20, help@supercluster.org)
AC_INIT(maui, 3.2.6p21, help@supercluster.org)
AC_CONFIG_SRCDIR([src/mcom/MConst.c])
#AC_CONFIG_HEADER([config.h])

View File

@ -577,6 +577,22 @@ int MAMAllocJDebit(
MXMLAddE(JE,AE);
}
if (J->StartTime > 0)
{
AE = NULL;
MXMLCreateE(&AE,(char *)MS3JobAttr[A->Version][mjaStartTime]);
MXMLSetVal(AE,&J->StartTime,mdfLong);
MXMLAddE(JE,AE);
}
if (J->CompletionTime > 0)
{
AE = NULL;
MXMLCreateE(&AE,"EndTime"); /* change to (char *)MS3JobAttr[A->Version][mjaCompletion]); */
MXMLSetVal(AE,&J->CompletionTime,mdfLong);
MXMLAddE(JE,AE);
}
if (J->Cred.C != NULL)
{
AE = NULL;