forked from lei.chen/myxce
scheduling using real slots number
This commit is contained in:
parent
8db4458375
commit
780e9fb313
22 changed files with 980 additions and 105 deletions
|
|
@ -359,7 +359,7 @@ struct Update $C.mapname("xce_update_data_t") {
|
|||
struct ResAlloc $C.mapname("xce_alloc_t"){
|
||||
name @0: Text $C.mapname("resname");
|
||||
resvId @1: Text $C.mapname("reserve");
|
||||
instid @2: UInt32;
|
||||
instid @2: UInt64;
|
||||
value @3: Float64;
|
||||
from @4: UInt64; # alloc start time
|
||||
duration @5: Int64;
|
||||
|
|
@ -371,8 +371,9 @@ struct HostAlloc $C.mapname("xce_host_alloc_t"){
|
|||
}
|
||||
|
||||
struct JobAlloc $C.mapname("xce_job_alloc_t"){
|
||||
jobid @0: UInt64;
|
||||
allocs @1: List(HostAlloc) $C.mapname("allocs") $C.maplistcount("nhosts");
|
||||
jobid @0: UInt64;
|
||||
allocs @1: List(HostAlloc) $C.mapname("allocs") $C.maplistcount("nhosts");
|
||||
allocsShared @2: List(ResAlloc) $C.mapname("allocs_shared") $C.maplistcount("nres_shared");
|
||||
}
|
||||
|
||||
struct JobDispatch $C.mapname("xce_job_dispatch_t"){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue