diff --git a/checkin_notes b/checkin_notes index befb92ea0c..087693f2de 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10012,3 +10012,6 @@ David Feb 9 2004 app.C,h client_state.C cs_scheduler.C + +David Feb 11 2004 + - updated docs diff --git a/client/cs_scheduler.C b/client/cs_scheduler.C index a2ca5db6a3..d4f79a3286 100644 --- a/client/cs_scheduler.C +++ b/client/cs_scheduler.C @@ -520,8 +520,7 @@ int CLIENT_STATE::handle_scheduler_reply( } if (sr.request_delay) { - int t = time(0) + sr.request_delay; - project->min_rpc_time = max(t, project->min_rpc_time); + project->min_rpc_time = time(0) + sr.request_delay; } project->host_total_credit = sr.host_total_credit; diff --git a/doc/assimilate.php b/doc/assimilate.php index dce8528f72..2e5075ae27 100644 --- a/doc/assimilate.php +++ b/doc/assimilate.php @@ -7,9 +7,9 @@ This is best done by linking the program sched/assimilate.C with an application-specific function of the form
int assimilate_handler( - WORKUNIT& wu, vectorTasks are periodic, short-running jobs. -CMD and PERIOD are required. +<cmd> and <period> are required. OUTPUT specifies the file to output and by default is COMMAND_BASE_NAME.out. -Commands are run in the& results, RESULT& canononical_result + WORKUNIT& wu, vector<RESULT>& results, RESULT& canononical_result ); - +"; page_tail(); ?> diff --git a/doc/configuration.php b/doc/configuration.php index 520b6a13a3..a07436d599 100644 --- a/doc/configuration.php +++ b/doc/configuration.php @@ -25,14 +25,14 @@ htmlspecialchars("[ foobar ] - [1 ] + [] feeder -d 3 [ foobar ] - [1 ] + [] get_load 5 min @@ -47,19 +47,19 @@ htmlspecialchars(" "), "
Daemons are continuously-running programs.
-The process ID is recorded in the
Both tasks and daemons can run on a different host (specified by <host>).
The default is the project's main host, which is specified in config.host
-A daemon or task can be turned off by adding the
+add is deprecated - we recommend using xadd instead.
+
Usages:
+ upgrade does the following:
+
- \n";
}
diff --git a/doc/platform.php b/doc/platform.php
index 58b3d123df..96397c80f3 100644
--- a/doc/platform.php
+++ b/doc/platform.php
@@ -107,8 +107,10 @@ to the core client, which records it in the
architecture_xml field of the result database record.
For example, the application might pass a description like
$x
- $y
+ $x
+ $y
";
if ($z) {
- echo " $z\n";
+ echo " $z \n";
}
echo "
-<has_3dnow_instructions/>
-<graphics_board>ATI Rage 64MB
+", htmlspecialchars("
+
This makes it possible, for example, to report average or total
performance statistics for 3DNow hosts contrasted
diff --git a/doc/tool_add.php b/doc/tool_add.php
index fd960eec94..b45e1cd8c4 100644
--- a/doc/tool_add.php
+++ b/doc/tool_add.php
@@ -1,22 +1,24 @@
- // -*- html -*-
- // $Id$
+
require_once("docutil.php");
- page_head("add
Tool");
- ?>
+ page_head("add - tool for adding database items");
-`add
' adds objects to the BOINC database through the command-line.
+echo "
+add is a command-line tool for adding entries to the BOINC database.
+
-add project --name=yah --long_name="YETI @ home"
+add project --name=sah --long_name=\"SETI@home\"
-add platform --name=c64 [ --user_friendly_name="Commodore 64" ]
+add platform --name=windows [ --user_friendly_name=\"Windows (95, NT, XP)\" ]
add core_version --platform=c64 --version_num=717
--exec_file=/path/to/boinc_7.17_c64
- [--message="Message"] [--message_priority="Priority"]
+ [--message=\"Message\"] [--message_priority=\"Priority\"]
add app --name=YetiApp [--min_version=716]
@@ -26,8 +28,8 @@ add app_version --app=YetiApp --platform=c64 --version_num=717
[--exec_file=/path/to/more_bins
[--signature_file=/tmp/sig_file2]] ...
-add user --name="Carl Sagan" --email_addr="carl.sagan@example.com"
- --authenticator="deadbeef"
+add user --name=\"Carl Sagan\" --email_addr=\"carl.sagan@example.com\"
+ --authenticator=\"deadbeef\"
[--country=Estonia --postal_code=94703
--global_prefs_file=/path/to/prefs.xml]
@@ -43,8 +45,7 @@ A project is created with make_project.
Core_version and app_version are automatically added by the
update_versions tool.
Users are usually created through the Web interface.
-
-
+";
page_tail();
?>
diff --git a/doc/tool_upgrade.php b/doc/tool_upgrade.php
new file mode 100644
index 0000000000..d783afe933
--- /dev/null
+++ b/doc/tool_upgrade.php
@@ -0,0 +1,28 @@
+bin/upgrade copies files from
+ the BOINC source tree to a project tree.
+ This is typically done after updating the source tree
+ and recompiling the software.
+
+ It copies files from the source/html/* directories
+ to the corresponding project directories.
+
+
+";
+ page_tail();
+?>
+
diff --git a/doc/tool_xadd.php b/doc/tool_xadd.php
index bd53725aca..c8f5aa66ab 100644
--- a/doc/tool_xadd.php
+++ b/doc/tool_xadd.php
@@ -29,11 +29,8 @@ Notes:
-
+