mirror of https://github.com/BOINC/boinc.git
parent
f8de417987
commit
44b8232bc4
|
@ -17,7 +17,7 @@ function update_average($now, $work_start_time, $work, &$avg, &$avg_time) {
|
|||
$avg += (1.0-$weight)*($work/$diff_days);
|
||||
}
|
||||
else {
|
||||
$avg += M_LN2*work*86400/CREDIT_HALF_LIFE;
|
||||
$avg += M_LN2*$work*86400/CREDIT_HALF_LIFE;
|
||||
}
|
||||
} else if ($work) {
|
||||
$dd = ($now - $work_start_time)/86400;
|
||||
|
|
Loading…
Reference in New Issue