Subversion Repositories shark

Rev

Rev 406 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
221 giacomo 1
//=======================================================================
2
//       FFFFFFIII   RRRRR      SSTTTTTTT
3
//      FF         IIR   RR    SS
4
//     FF           IR        SS
5
//    FFFFFF         RRRR    SSSSST      
6
//   FF       FI       RRR  SS
7
//  FF         II     RRR  SS
8
// FF           IIIIIR    RS
9
//
10
// Basic FSF(FIRST Scheduling Framework) configuration parameters
11
// S.Ha.R.K. Implementation
12
//=======================================================================
13
 
14
///////////////////////////////////////////////////////////////////
15
// Definitions required to configure the fsf scheduling algorithms.
16
 
17
#include <sys/boolean.h>
18
 
19
#ifndef _FSF_CONFIGURATION_PARAMETERS_H_
20
#define _FSF_CONFIGURATION_PARAMETERS_H_
21
 
22
 
23
// This symbol specifies whether the scheduler will make a
24
// schedulability of the requested contract or not
25
#define FSF_ADMISSION_TEST_IS_ENABLED        false
26
 
27
 
28
// Tune these values for optimizing the amount of memory used by
29
// the implementation
30
 
31
// Maximum number of accepted contracts (servers)
406 giacomo 32
#define FSF_MAX_N_SERVERS                    20
221 giacomo 33
 
34
// Maximum number of threads that may be scheduled by the framework
406 giacomo 35
#define FSF_MAX_N_THREADS                    20
221 giacomo 36
 
37
// Maximum number of critical sections that can be stored in a 
38
// contract parameters object
406 giacomo 39
#define FSF_MAX_N_CRITICAL_SECTIONS          20
221 giacomo 40
 
41
// Maximum number of utilization values (pairs of budget and period) 
42
// that can be stored in a contract parameters object
406 giacomo 43
#define FSF_MAX_N_UTILIZATION_VALUES         20
221 giacomo 44
 
45
#define FSF_MAX_N_BIND_THREAD                1
46
 
808 trimarchi 47
// Define Max Shared Operation for object
48
#define FSF_MAX_SHARED_OPERATION             20
49
 
221 giacomo 50
#endif