Functions | |
int | fsf_initialize_contract (fsf_contract_parameters_t *contract) |
int | fsf_set_contract_basic_parameters (fsf_contract_parameters_t *contract, const struct timespec *budget_min, const struct timespec *period_max, fsf_workload_t workload) |
int | fsf_get_contract_basic_parameters (const fsf_contract_parameters_t *contract, struct timespec *budget_min, struct timespec *period_max, fsf_workload_t *workload) |
int | fsf_set_contract_timing_requirements (fsf_contract_parameters_t *contract, bool d_equals_t, const struct timespec *deadline, int budget_overrun_sig_notify, union sigval budget_overrun_sig_value, int deadline_miss_sig_notify, union sigval deadline_miss_sig_value) |
int | fsf_get_contract_timing_requirements (const fsf_contract_parameters_t *contract, bool *d_equals_t, struct timespec *deadline, int *budget_overrun_sig_notify, union sigval *budget_overrun_sig_value, int *deadline_miss_sig_notify, union sigval *deadline_miss_sig_value) |
|
This operation obtains from the specified contract parameters object its budget, period, and workload, and copies them to the places pointed to by the corresponding input parameters.
|
|
The operation obtains the corresponding input parameters from the specified contract parameters object. If d_equals_t is true, the deadline will not be updated.
|
|
The operation receives a pointer to a contract parameters object and initializes it, setting it to the default values. The default values are:
|
|
The operation updates the specified contract parameters object by setting its budget, period, and workload to the specified input parameters. (Note: the workload is a basic parameter because bounded tasks are triggered by the scheduler (see the fsf_schedule_timed_job() operation), while indeterminate tasks are not; therefore, their programming model is quite different).
|
|
The operation updates the specified contract parameters object, specifying the additional parameters requirements of a contract.
|