![]() |
fpmas 1.6
|
Classes | |
class | Epoch |
class | Job |
class | NodeTask |
class | Scheduler |
class | Task |
Typedefs | |
typedef unsigned long | Period |
typedef float | Date |
typedef unsigned long | TimeStep |
typedef float | SubTimeStep |
typedef size_t | JID |
typedef std::vector< std::reference_wrapper< const Job > > | JobList |
Functions | |
TimeStep | time_step (Date date) |
SubTimeStep | sub_time_step (Date date) |
Date | sub_step_end (TimeStep step) |
Scheduler components API namespace.
typedef unsigned long fpmas::api::scheduler::Period |
Type used to define a time period.
typedef float fpmas::api::scheduler::Date |
Type used to define a particular date.
The integer part of a Date corresponds to the TimeStep used to build an Epoch, and the rational part is the SubTimeStep, that can be used to order events within a TimeStep.
typedef unsigned long fpmas::api::scheduler::TimeStep |
Integral part of a Date.
typedef float fpmas::api::scheduler::SubTimeStep |
Decimal part of a Date.
typedef size_t fpmas::api::scheduler::JID |
Job ID type.
typedef std::vector<std::reference_wrapper<const Job> > fpmas::api::scheduler::JobList |
A list of Jobs.
Returns the integer time step represented by date
.
date | date |
SubTimeStep fpmas::api::scheduler::sub_time_step | ( | Date | date | ) |
Returns the decimal sub time step represented by date
.
date | date |
api::scheduler::SubTimeStep fpmas::api::scheduler::sub_step_end | ( | api::scheduler::TimeStep | time_step | ) |
The maximum Date value in the provided time_step
.
This value can be used to schedule a job after all other in the current time step.