From bfe22a571fc8d07f83210c425c640d0d695dd82d Mon Sep 17 00:00:00 2001 From: Daniel Hsu Date: Sat, 3 Jul 2004 18:50:20 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3768 --- doc/client_sched.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/client_sched.php b/doc/client_sched.php index 2d98a02d0e..6ee5711f2a 100644 --- a/doc/client_sched.php +++ b/doc/client_sched.php @@ -29,7 +29,7 @@ in a typical period of a day or two, should be approximately the same as the ratio of the user-specified resource shares. If a process has no work for some period, -it does no accumulate a 'debt' of work. +it does not accumulate a 'debt' of work.
  • Satisfy result deadlines if possible. @@ -92,7 +92,8 @@ This algorithm is run:

    @@ -136,7 +137,7 @@ ready-to-compute result.

     data structures:
     ACTIVE_TASK:
    -    double period_start_cpu_time
    +    double cpu_time_at_last_sched
         double current_cpu_time
         scheduler_state:
             PREEMPTED
    @@ -155,7 +156,7 @@ foreach project P
     
     total_work_done_this_period = 0
     foreach task T that is RUNNING:
    -    x = T.current_cpu_time - T.period_start_cpu_time
    +    x = T.current_cpu_time - T.cpu_time_at_last_sched
         T.project.work_done_this_period += x
         total_work_done_this_period += x
     
    @@ -197,7 +198,7 @@ foreach task T
             suspend (or kill)
     
     foreach task T
    -    T.period_start_cpu_time = T.current_cpu_time
    +    T.cpu_time_at_last_sched = T.current_cpu_time
     

    Work fetch policy