1st workable scheduler with resource from controller

This commit is contained in:
Rongsong Shen 2025-12-31 15:48:33 +08:00
parent 780e9fb313
commit bef32ace38
8 changed files with 238 additions and 24 deletions

View file

@ -263,18 +263,13 @@ typedef struct {
int64_t duration;
} xce_alloc_t;
typedef struct {
uint64_t jobid;
xce_alloc_t alloc;
double used;
} res_usage_t;
typedef struct {
uint64_t instid;
char* resname;
int residx;
double used;
double reserved;
double allocated;
} xce_res_account_t;
typedef struct {