mirror of https://github.com/BOINC/boinc.git
Scheduler: populate sreq.host.credit_per_cpu_sec in case project wants
to send different work to slow and fast hosts. I'm experimenting with the use of this in the locality scheduler. (DAVID: please check that the one-line change in handle_request.C is globally harmless.) svn path=/trunk/boinc/; revision=10388
This commit is contained in:
parent
0a778b8e1e
commit
d81e37f29f
|
@ -6247,3 +6247,15 @@ David 17 June 2006
|
|||
client/
|
||||
client_state.h
|
||||
cpu_sched.C
|
||||
|
||||
Bruce 17 June 2006
|
||||
- Scheduler: populate sreq.host.credit_per_cpu_sec in case project wants
|
||||
to send different work to slow and fast hosts. I'm experimenting with
|
||||
the use of this in the locality scheduler.
|
||||
|
||||
(David: please check that the one-line change in handle_request.C is
|
||||
globally harmless.)
|
||||
|
||||
sched/
|
||||
handle_request.C
|
||||
|
||||
|
|
|
@ -450,6 +450,7 @@ static int modify_host_struct(SCHEDULER_REQUEST& sreq, HOST& host) {
|
|||
host.fix_nans();
|
||||
|
||||
compute_credit_rating(host);
|
||||
sreq.host.credit_per_cpu_sec=host.credit_per_cpu_sec;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue