diff --git a/checkin_notes b/checkin_notes index 617ac969d6..9d42e5da8d 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 + diff --git a/sched/handle_request.C b/sched/handle_request.C index 24e37cfff9..e299a64daf 100644 --- a/sched/handle_request.C +++ b/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; }