mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=4090
This commit is contained in:
parent
b08dcfe6ba
commit
17221cb133
|
@ -201,9 +201,7 @@ make_new_host:
|
||||||
// Could also include terms for RAM size, network speed etc.
|
// Could also include terms for RAM size, network speed etc.
|
||||||
//
|
//
|
||||||
static void compute_credit_rating(HOST& host, SCHEDULER_REQUEST& sreq) {
|
static void compute_credit_rating(HOST& host, SCHEDULER_REQUEST& sreq) {
|
||||||
double cobblestone_factor = 300;
|
double cobblestone_factor = 100;
|
||||||
if (sreq.core_client_major_version > 3) cobblestone_factor = 100;
|
|
||||||
if (sreq.core_client_minor_version > 5) cobblestone_factor = 100;
|
|
||||||
host.credit_per_cpu_sec =
|
host.credit_per_cpu_sec =
|
||||||
(fabs(host.p_fpops)/1e9 + fabs(host.p_iops)/1e9)
|
(fabs(host.p_fpops)/1e9 + fabs(host.p_iops)/1e9)
|
||||||
* cobblestone_factor / (2 * SECONDS_PER_DAY);
|
* cobblestone_factor / (2 * SECONDS_PER_DAY);
|
||||||
|
|
Loading…
Reference in New Issue