Commit 346ac348 authored by David Anderson's avatar David Anderson

- client: RR sim FLOPS estimate for GPU jobs should reflect

    fraction of time BOINC is running.


svn path=/trunk/boinc/; revision=17412
parent fd5fc4a2
......@@ -2397,3 +2397,11 @@ David 27 Feb 2009
cs_scheduler.cpp
scheduler_op.cpp
work_fetch.cpp
David 27 Feb 2009
- client: RR sim FLOPS estimate for GPU jobs should reflect
fraction of time BOINC is running.
client/
rr_sim.cpp
work_fetch.cpp
......@@ -130,7 +130,7 @@ void RR_SIM_PROJECT_STATUS::remove_active(RESULT* rp) {
void set_rrsim_flops(RESULT* rp) {
// if it's a coproc job, use app version estimate
if (rp->uses_coprocs()) {
rp->rrsim_flops = rp->avp->flops;
rp->rrsim_flops = rp->avp->flops * gstate.overall_cpu_frac();
return;
}
PROJECT* p = rp->project;
......
......@@ -850,7 +850,7 @@ double ACTIVE_TASK::est_time_to_completion(bool for_work_fetch) {
return x;
}
// the fraction of time a given CPU is working for BOINC
// the fraction of time BOINC is processing
//
double CLIENT_STATE::overall_cpu_frac() {
double running_frac = time_stats.on_frac * time_stats.active_frac;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment