#define _FRSH_CONFIGURATION_PARAMETERS_H_
#include <unistd.h>
+#include <limits.h>
+#include <frsh_cpp_macros.h>
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. **/
**/
/** Maximum number of accepted contracts (vres) **/
-#define FRSH_MAX_N_VRES 100
-
+#define FRSH_MAX_N_VRES 25
/** 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
**/
#define FRSH_MAX_N_SYNCH_OBJECTS 5
-
/** Maximum number of shared objects **/
#define FRSH_MAX_N_SHARED_OBJECTS 100
#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 25
/**
* Default overheads of shared object protection mechanisms
#define FRSH_SO_NANOS_PER_KB 0
+/* Default memory pool's size in Kbytes */
+#define FRSH_DYNAMIC_MEMORY_POOL_SIZE 6670
+
+/**
+ * Maximum synchronized workload period number. After this value any
+ * increments will be set to zero.
+ **/
+#define FRSH_MAX_SYNCHRONIZED_PERIOD_NUMBER LONG_MAX
+
+
/*@}*/
/*@}*/