1st workable scheduler with resource from controller
This commit is contained in:
parent
780e9fb313
commit
bef32ace38
8 changed files with 238 additions and 24 deletions
|
|
@ -42,11 +42,12 @@ static xce_res_account_t* make_res_account(xce_alloc_t* alloc)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
account->instid = alloc->instid;
|
||||
account->resname = strdup(alloc->resname);
|
||||
account->residx = -1;
|
||||
account->used = 0.0;
|
||||
account->reserved = alloc->value;
|
||||
account->instid = alloc->instid;
|
||||
account->resname = strdup(alloc->resname);
|
||||
account->residx = -1;
|
||||
account->used = 0.0;
|
||||
account->reserved = alloc->value;
|
||||
account->allocated = alloc->value;
|
||||
|
||||
return account;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue