Quick Updates

svn path=/trunk/boinc/; revision=16288
This commit is contained in:
Rom Walton 2008-10-23 13:50:20 +00:00
parent 2536f68d1c
commit 6268cfd3c3
1 changed files with 2 additions and 2 deletions

View File

@ -666,7 +666,7 @@ int GLOBAL_PREFS::write(MIOFILE& f) {
cpu_usage_limit
);
if (max_ncpus) {
f.printf(" <max_ncpus>%d</max_ncpus>\n", max_ncpus);
f.printf(" <max_cpus>%d</max_cpus>\n", max_ncpus);
}
for (int i=0; i<7; i++) {
@ -761,7 +761,7 @@ int GLOBAL_PREFS::write_subset(MIOFILE& f, GLOBAL_PREFS_MASK& mask) {
f.printf(" <max_ncpus_pct>%f</max_ncpus_pct>\n", max_ncpus_pct);
}
if (mask.max_ncpus) {
f.printf(" <max_ncpus>%d</max_ncpus>\n", max_ncpus);
f.printf(" <max_cpus>%d</max_cpus>\n", max_ncpus);
}
if (mask.cpu_scheduling_period_minutes) {
f.printf(" <cpu_scheduling_period_minutes>%f</cpu_scheduling_period_minutes>\n", cpu_scheduling_period_minutes);