diff --git a/checkin_notes b/checkin_notes index cfd149c117..acfcfd2adf 100755 --- a/checkin_notes +++ b/checkin_notes @@ -4249,3 +4249,12 @@ Charlie 28 Apr 2006 Make_BOINC_Service.sh boinc.xcodeproj/ project.pbxproj + +David 28 Apr 2006 + - create_work (both program and function): handle + element in WU template file + + html/inc/ + stats_sites.inc + tools/ + backend_lib.C diff --git a/doc/links.php b/doc/links.php index 1629ce2b9c..d1a18d1b26 100644 --- a/doc/links.php +++ b/doc/links.php @@ -43,8 +43,14 @@ Show if the servers of various projects are up or down.

Credit statistics

"; +shuffle($stats_sites); site_list($stats_sites); echo " +

Team statistics

+"; +shuffle($team_stats_sites); +site_list($team_stats_sites); +echo "

Information, message boards, and teams

"; diff --git a/doc/sched.php b/doc/sched.php index d991749bf5..3ac40f1072 100644 --- a/doc/sched.php +++ b/doc/sched.php @@ -241,14 +241,15 @@ In this case, shortfall(A) is 4, shortfall(B) is 0, and total_shortfall is 2.
The scheduling policy is:
    +
  1. Set the 'anticipated debt' of each project to its short-term debt
  2. Let P be the project with the earliest-deadline runnable result among projects with deadlines_missed(P)>0. Let R be P's earliest-deadline runnable result not scheduled yet. Tiebreaker: least index in result array. -
  3. If such an R exists, schedule R and decrement deadlines_missed(P). +
  4. If such an R exists, schedule R, + decrement P's anticipated debt, and decrement deadlines_missed(P).
  5. If there are more CPUs, and projects with deadlines_missed(P)>0, go to 1.
  6. If all CPUs are scheduled, stop. -
  7. Set the 'anticipated debt' of each project to its short-term debt
  8. Find the project P with the greatest anticipated debt, select one of P's runnable results (picking one that is already running, if possible, diff --git a/html/inc/stats_sites.inc b/html/inc/stats_sites.inc index 1f36b53b75..3e6054e36e 100644 --- a/html/inc/stats_sites.inc +++ b/html/inc/stats_sites.inc @@ -1,21 +1,11 @@ ", cmdline)) { + if (command_line) { + fprintf(stderr, "Can't specify command line twice"); + return ERR_XML_PARSE; + } + out += "\n"; + out += cmdline; + out += "\n\n"; } else if (parse_double(p, "", wu.rsc_fpops_est)) { continue; } else if (parse_double(p, "", wu.rsc_fpops_bound)) {