- save tmp works
- save works
This commit is contained in:
parent
cd4f3953b2
commit
12dcc2a60d
14 changed files with 386 additions and 110 deletions
|
|
@ -6,7 +6,9 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "kvmgr.h"
|
||||
#include "xlist.h"
|
||||
#include "xvec.h"
|
||||
|
||||
typedef struct xce_resreq_select_ xce_select_t;
|
||||
typedef struct xce_resreq_rusages_ xce_rusages_t;
|
||||
|
|
@ -35,7 +37,8 @@ typedef struct {
|
|||
typedef enum {
|
||||
PER_TASK = 0,
|
||||
PER_JOB,
|
||||
PER_HOST
|
||||
PER_HOST,
|
||||
PER_DEFAULT
|
||||
} rusage_per_type_t;
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -124,5 +127,9 @@ extern int parse_resreq_primary(xce_primary_resreq_t*, char*, char**);
|
|||
extern int parse_resreq(xce_resreq_t*, char*, char**);
|
||||
extern void kill_resreq(xce_resreq_t*);
|
||||
extern int format_resreq(char**, xce_resreq_t*);
|
||||
extern int calc_wanted_global_resvals(xvec_idval_t*, resmgr_t*, xlist_t*,
|
||||
rusage_per_type_t, int, int);
|
||||
extern int calc_wanted_host_resvals(xvec_idval_t*, resmgr_t*, xlist_t*,
|
||||
rusage_per_type_t, int, int);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue