aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl41
1 files changed, 32 insertions, 9 deletions
diff --git a/param.ccl b/param.ccl
index 066b110..6391c8a 100644
--- a/param.ccl
+++ b/param.ccl
@@ -3,30 +3,53 @@
private:
+# Probably the most useful parameter
+
INT port "HTTP port number"
{
1:65535 :: "Any valid port"
} 5555
-INT queue_length "Listen queue length"
+# This allows you to control the number of times all procs need to synchronise parameters
+INT steering_frequency "How many iterations between steering events" STEERABLE = ALWAYS
{
- 1: :: "Any positive number"
-} 4
+ 0: :: "Any number, 0 means don't steer"
+} 1
+
+BOOLEAN provide_pages "Should the server provide any pages ?"
+{
+} "yes"
+
+BOOLEAN standalone "Should the server poll continuously in startup" STEERABLE = ALWAYS
+{
+} "no"
+
+
+# Tuning parameters
-INT timeout_seconds "Polling timeout seconds"
+INT timeout_seconds "Polling timeout seconds" STEERABLE = ALWAYS
{
0: :: "Any whole number"
} 0
-INT timeout_useconds "Polling timeout micro-seconds"
+INT timeout_useconds "Polling timeout micro-seconds" STEERABLE = ALWAYS
{
0: :: "Any whole number"
} 0
-BOOLEAN standalone "Should the server poll continuously in startup"
+INT queue_length "Listen queue length"
+{
+ 1: :: "Any positive number"
+} 4
+
+
+# You probably don't want to set these in a parameter file
+
+BOOLEAN pause "Pause ?" STEERABLE = ALWAYS
{
} "no"
-
-BOOLEAN provide_pages "Should the server provide any pages ?"
+
+BOOLEAN terminate "Kill the simulation ?" STEERABLE = ALWAYS
{
-} "yes"
+} "no"
+