mirror of https://github.com/BOINC/boinc.git
- client: if <ncpus> is specified in config file,
set host_info.p_ncpus to that value, so that scheduler requests report that number of CPUs svn path=/trunk/boinc/; revision=23608
This commit is contained in:
parent
b6e47b0917
commit
57a41e14d9
|
@ -3153,3 +3153,11 @@ David 25 May 2011
|
|||
parse.cpp,h
|
||||
client/
|
||||
app_control.cpp
|
||||
|
||||
David 25 May 2011
|
||||
- client: if <ncpus> is specified in config file,
|
||||
set host_info.p_ncpus to that value,
|
||||
so that scheduler requests report that number of CPUs
|
||||
|
||||
client/
|
||||
cpu_sched.cpp
|
||||
|
|
|
@ -2003,6 +2003,7 @@ void CLIENT_STATE::set_ncpus() {
|
|||
|
||||
if (config.ncpus>0) {
|
||||
ncpus = config.ncpus;
|
||||
host_info.p_ncpus = ncpus;
|
||||
} else if (host_info.p_ncpus>0) {
|
||||
ncpus = host_info.p_ncpus;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue