aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorgoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-16 20:10:28 +0000
committergoodale <goodale@1faa4e14-9dd3-4be0-9f0e-ffe519881164>2000-09-16 20:10:28 +0000
commit5a7d5ee4c0831d666233535ae8856684310c69ba (patch)
tree06cf1048e853380e00b8d6ce0565a72fd923cf08 /param.ccl
parent26bf3412fc4693fc7d61598a542b66e375353abc (diff)
Added ability to pause and terminate the simulation.
Also can select how many iterations between steering events. Can now start simulation as 'standalone' twiddle with parameters, then start the simulation, pause it, and kill it. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusConnect/HTTPD/trunk@31 1faa4e14-9dd3-4be0-9f0e-ffe519881164
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"
+