]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/commitdiff
conf params: the distributed module is enabled with a -D
authorsangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 6 Nov 2008 16:37:07 +0000 (16:37 +0000)
committersangorrin <sangorrin@35b4ef3e-fd22-0410-ab77-dab3279adceb>
Thu, 6 Nov 2008 16:37:07 +0000 (16:37 +0000)
git-svn-id: http://www.frescor.org/private/svn/frescor/frsh/trunk/include@1386 35b4ef3e-fd22-0410-ab77-dab3279adceb

frsh_configuration_parameters.h

index 4c33fa414d70a11e8e613a0880f4e8d8de1baf73..595cb765ace6fc40a545c2ba23b0caeced48fb31 100644 (file)
@@ -105,8 +105,11 @@ FRSH_CPP_BEGIN_DECLS
  **/
 #define FRSH_AUTOMATIC_PRIO_ASSIGN_ENABLE true
 
+#ifdef ENABLE_FRSH_DISTRIBUTED_MODULE
+#define FRSH_DISTRIBUTED_MODULE_SUPPORTED true
+#else
 #define FRSH_DISTRIBUTED_MODULE_SUPPORTED false
-
+#endif
 
 /** This defines 1 resource_id value for systems that have only one
     resource of a kind. **/
@@ -127,11 +130,9 @@ FRSH_CPP_BEGIN_DECLS
 /** Maximum number of accepted contracts (vres) **/
 #define FRSH_MAX_N_VRES                    100
 
-
 /** Maximum number of threads that may be scheduled by the framework **/
 #define FRSH_MAX_N_THREADS                    25
 
-
 /**
  * Maximum number of critical sections that can be stored in a
  * contract parameters object
@@ -158,7 +159,6 @@ FRSH_CPP_BEGIN_DECLS
  **/
 #define FRSH_MAX_N_SYNCH_OBJECTS              5
 
-
 /** Maximum number of shared objects **/
 #define FRSH_MAX_N_SHARED_OBJECTS             100
 
@@ -244,7 +244,7 @@ FRSH_CPP_BEGIN_DECLS
  **/
 
 /** Initial period of the service thread (timespec) **/
-#define FRSH_SERVICE_THREAD_PERIOD_USECS 500000 /* 500 msecs */
+#define FRSH_SERVICE_THREAD_PERIOD_USECS 5000000 /* 500 msecs */
 
 /** Initial budget of the service thread (timespec) **/
 #define FRSH_SERVICE_THREAD_BUDGET_USECS 1000 /* 1 msec */
@@ -321,16 +321,14 @@ int frsh_priority_map (unsigned long plevel);
 #define FRSH_MAX_N_NETWORK_IDS                1
 
 /**
- * Maximum number of vres that can be given in a vres list
- * to the group negotiation/cancellation primitive
+ * Maximum number of groups allocated at the same time
  **/
-#define FRSH_MAX_N_VRES_VALUES              10
+#define FRSH_MAX_N_GROUPS  3
 
 /**
- * Maximum number of contracts that can be given in a contracts list
- * to the group negotiation/cancellation primitive
+ * Maximum number of groups operations (neg, reneg, cancel) per group
  **/
-#define FRSH_MAX_N_CONTRACT_VALUES              10
+#define FRSH_MAX_GROUP_OPS  3
 
 /**
  * Default overheads of shared object protection mechanisms