]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_configuration_parameters.h
Fix type of number of power levels argument in
[frescor/frsh-include.git] / frsh_configuration_parameters.h
index 595cb765ace6fc40a545c2ba23b0caeced48fb31..817dad89df44189a5634eea16cd87891086c6de0 100644 (file)
@@ -69,6 +69,7 @@
 #define _FRSH_CONFIGURATION_PARAMETERS_H_
 
 #include <unistd.h>
+#include <limits.h>
 #include <frsh_cpp_macros.h>
 
 FRSH_CPP_BEGIN_DECLS
@@ -128,7 +129,7 @@ FRSH_CPP_BEGIN_DECLS
  **/
 
 /** 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
@@ -244,7 +245,7 @@ FRSH_CPP_BEGIN_DECLS
  **/
 
 /** Initial period of the service thread (timespec) **/
-#define FRSH_SERVICE_THREAD_PERIOD_USECS 5000000 /* 500 msecs */
+#define FRSH_SERVICE_THREAD_PERIOD_USECS 500000 /* 500 msecs */
 
 /** Initial budget of the service thread (timespec) **/
 #define FRSH_SERVICE_THREAD_BUDGET_USECS 1000 /* 1 msec */
@@ -328,7 +329,7 @@ int frsh_priority_map (unsigned long plevel);
 /**
  * Maximum number of groups operations (neg, reneg, cancel) per group
  **/
-#define FRSH_MAX_GROUP_OPS  3
+#define FRSH_MAX_GROUP_OPS  25
 
 /**
  * Default overheads of shared object protection mechanisms
@@ -354,6 +355,13 @@ int frsh_priority_map (unsigned long plevel);
 /* 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
+
+
 /*@}*/
 
 /*@}*/