80,15 → 80,6 |
|
|
/** |
Contract parameters type; it is an opaque type (i.e. the internal |
structure of this data type is implementation dependent). The user |
can access and modify the parameters of a contract only with the |
proper functions, and should never access the data directly. |
*/ |
typedef FSF_CONTRACT_PARAMETERS_T_OPAQUE fsf_contract_parameters_t; |
|
|
/** |
Synchronization object handle type, this an opaque type |
used to signaling of servers |
*/ |
109,21 → 100,6 |
typedef void * (*fsf_thread_code_t) (void *); |
|
|
/// List of contracts to negotiate |
typedef struct { |
int size; |
fsf_contract_parameters_t* contracts[FSF_MAX_N_SERVERS]; |
} fsf_contracts_group_t; |
|
/// List of servers to cancel |
typedef struct { |
int size; |
fsf_server_id_t servers[FSF_MAX_N_SERVERS]; |
} fsf_servers_group_t; |
|
|
|
|
// |
// Types for the spare capacity module |
// |
172,7 → 148,13 |
value[FSF_MAX_N_UTILIZATION_VALUES]; |
} fsf_utilization_set_t; |
|
/// List of servers to cancel |
typedef struct { |
int size; |
fsf_server_id_t servers[FSF_MAX_N_SERVERS]; |
} fsf_servers_group_t; |
|
|
/// The defualt granularity |
#define FSF_DEFAULT_GRANULARITY FSF_CONTINUOUS |
|
263,7 → 245,7 |
|
*/ |
/// Scheduling policies |
typedef enum {FSF_FP, FSF_EDF, FSF_TABLE_DRIVEN, FSF_RR, FSF_NONE} |
typedef enum {FSF_FP, FSF_EDF, FSF_TABLE_DRIVEN, FSF_RR, FSF_FEDF,FSF_NONE} |
fsf_sched_policy_t; |
|
/** |
323,7 → 305,6 |
// Constant for assigning default values |
#define FSF_DEFAULT_SCHED_POLICY FSF_NONE |
|
|
// |
// Types for the distributed services module |
// |
359,8 → 340,21 |
typedef unsigned int fsf_port_t; |
|
|
/** |
Contract parameters type; it is an opaque type (i.e. the internal |
structure of this data type is implementation dependent). The user |
can access and modify the parameters of a contract only with the |
proper functions, and should never access the data directly. |
*/ |
typedef FSF_CONTRACT_PARAMETERS_T_OPAQUE fsf_contract_parameters_t; |
|
/// List of contracts to negotiate |
typedef struct { |
int size; |
fsf_contract_parameters_t* contracts[FSF_MAX_N_SERVERS]; |
} fsf_contracts_group_t; |
|
|
// Error codes |
#define FSF_ERR_BASE_VALUE 0x02004000 |
|