32,12 → 32,12 |
|
// Maximum number of accepted contracts (servers) |
|
#define FSF_MAX_N_SERVERS 15 |
#define FSF_MAX_N_SERVERS 125 |
|
|
// Maximum number of threads that may be scheduled by the framework |
|
#define FSF_MAX_N_THREADS 11 |
#define FSF_MAX_N_THREADS 25 |
|
|
// Maximum number of critical sections that can be stored in a |
62,10 → 62,6 |
#define FSF_MAX_N_SHARED_OBJECTS 100 |
|
|
// Define the max number of target windows in the table driven scheduling |
|
#define FSF_MAX_N_TARGET_WINDOWS 100 |
|
//////////////////////////////////////////// |
// Other implementation dependent parameters |
|
90,7 → 86,7 |
// thread, and it should be at least 1 level below the maximum of the |
// system |
|
#define FSF_SCHEDULER_PRIORITY 30 |
#define FSF_SCHEDULER_PRIORITY 104 |
|
|
// Real-time signal number reserved for the application scheduler to |
109,7 → 105,7 |
// The lowest priority that can be assigned to an application thread, |
// it should be at least 1 level above the minimum of the system |
|
#define FSF_LOWEST_THREAD_PRIORITY 2 |
#define FSF_LOWEST_THREAD_PRIORITY 3 |
|
// Each call to the functions that negotiate or renegotiate a contract |
// or that change the quality and importance generates a request for |
128,12 → 124,12 |
|
// Initial period of the service thread (timespec) |
|
#define FSF_SERVICE_THREAD_PERIOD {0,100000000} //0.1 seg |
#define FSF_SERVICE_THREAD_PERIOD {0,10000000} //0.1 seg //3.1 0.01 |
|
|
// Initial budget of the service thread (timespec) |
|
#define FSF_SERVICE_THREAD_BUDGET {0,10000000} //0.01 seg |
#define FSF_SERVICE_THREAD_BUDGET {0,1000000} //0.01 seg //3.1 0.001 |
|
|
// Initial priority of the service thread, it has to be lower than the |
141,14 → 137,10 |
// expected response times for reconfiguration or tunning of the |
// system. |
|
#define FSF_SERVICE_THREAD_PRIORITY 1 |
#define FSF_SERVICE_THREAD_PRIORITY FSF_LOWEST_THREAD_PRIORITY+1 //3 3 //3 1 |
|
|
// Numeric identifier of the service thread, used for tracing |
|
#define FSF_SERVICE_THREAD_IDNAME 0x55555555 |
|
|
//Maximum number of servers that can be simultaneusly waiting for |
//being signaled in a synchronization object |
|
163,9 → 155,18 |
|
//Maximum number of pending replenishments in each sporadic server |
|
#define FSF_MAX_N_PENDING_REPLENISHMENTS 25 |
#define FSF_MAX_N_PENDING_REPLENISHMENTS 1050 //25 |
|
|
//Maximum number of target windows in a table driven schedule |
|
#define FSF_MAX_N_TARGET_WINDOWS 100 |
|
//The cpu time given by the round robin scheduler |
//to the threads in the background (timespec) |
|
#define FSF_RR_SLICE_CPU_TIME {0,100000000} //3 0.1 sec |
|
// This function must be supplied by the user to map the preemption |
// level values given in the contracts for the servers, to priority |
// values in the range that is allowed by the present implementation |
176,13 → 177,11 |
int |
fsf_priority_map (unsigned long plevel); |
|
//????? |
// This symbol specifies whether the scheduling system will make |
// traces of the servers, the scheduler and the service thread |
// operation and make them available through the fsf_print_traces |
// function |
// This symbol specifies the maximum number of chars that are stored |
// of a given shared_object_id, so this is the maximum length used |
// in comparissons |
|
#define FSF_TRACING_SERVICE_IS_ENABLED true |
//????? |
#define FSF_MAX_SIZE_SHARED_OBJ_ID 65 |
|
|
#endif /* _FSF_CONFIGURATION_PARAMETERS_H_ */ |