End abs planned end time, *
omitted for rogue tasks
Live boolean, for reporting purposes only
+ Job flight.job which made the allocation
Events
map from
Shareix
Task
Live
+ Job flight.job which made the allocation
* = internal to plan
** = computed by launder_check_plan
Shareix => $shareix,
Live => $alloc->{Live},
);
-
+
+ my $job = $alloc->{Job};
push @{ $plan->{Events}{$reso} }, {
Time => $alloc->{Start},
Info => $alloc->{Info},
+ ($job ? (Job => $job) : ()),
Type => Start,
($share ? (Share => { %$share }) : ()),
Allocated => { @ealloc },
}, {
Time => $end_exptd,
Info => $alloc->{Info},
+ ($job ? (Job => $job) : ()),
Type => End,
($share ? (Share => { %$share }) : ()),
Allocated => { @ealloc },
my @jevts;
foreach my $evt (@$evts) {
my $share= $evt->{Share};
+ my $job= $evt->{Job};
push @jevts, {
Time => $evt->{Time} - $plan->{Start},
Type => $evt->{Type},
Avail => $evt->{Avail},
+ ($job ? (Job => $job) : ()),
($share ? (Share => $share) : ()),
};
}
my $starttime= parse_reltime2abs($jbook->{Start});
my $endtime= parse_reltime2abs($jbook->{End});
my $reso= parse_reso($jbook->{Reso});
+ my $job= $jbook->{Job};
die unless $starttime < $endtime;
Start => $starttime,
End => $endtime,
Live => 1,
+ ($job ? (Job => $job) : ()),
};
}
Info => $info,
(@share ? (Share => { @share }) : ()),
(@alloc ? (Allocated => { @alloc }) : ()),
+ ($job ? (Job => $job) : ()),
@_,
};
};