*** empty log message ***

svn path=/trunk/boinc/; revision=4216
This commit is contained in:
Lana Alber 2004-09-21 19:43:48 +00:00
parent b86fd64ae3
commit 989cc112db
2 changed files with 5 additions and 0 deletions

View File

@ -56,6 +56,7 @@ void GLOBAL_PREFS::init() {
//work_buf_max_days = 0.2;
work_buf_min_days = 0.1;
max_cpus = 1;
cpu_sched_period= 3600;
disk_interval = 60;
disk_max_used_gb = 1;
disk_max_used_pct = 50;
@ -172,6 +173,9 @@ int GLOBAL_PREFS::parse(FILE* in, char* host_venue, bool& found_venue) {
} else if (parse_double(buf, "<disk_interval>", disk_interval)) {
if (disk_interval<0) disk_interval = 0;
continue;
} else if (parse_double(buf, "<cpu_scheduling_period_minutes>", cpu_sched_period)) {
cpu_sched_period= cpu_sched_period * 60;
continue;
} else if (parse_double(buf, "<disk_max_used_gb>", disk_max_used_gb)) {
continue;
} else if (parse_double(buf, "<disk_max_used_pct>", disk_max_used_pct)) {

View File

@ -46,6 +46,7 @@ struct GLOBAL_PREFS {
//double work_buf_max_days;
double work_buf_min_days;
int max_cpus;
double cpu_sched_period;
double disk_interval;
double disk_max_used_gb;
double disk_max_used_pct;