Commit 65679139 authored by David Anderson's avatar David Anderson

- scheduler: make host.p_features available to app_plan()


svn path=/trunk/boinc/; revision=17307
parent d848e545
......@@ -1707,3 +1707,11 @@ David 18 Feb 2009
user/
workunit.php
result.php
David 18 Feb 2009
- scheduler: make host.p_features available to app_plan()
db/
boinc_db.h
sched/
server_types.cpp
......@@ -304,6 +304,7 @@ struct HOST {
// the following not stored in DB
//
double claimed_credit_per_cpu_sec;
char p_features[256];
int parse(FILE*);
int parse_time_stats(FILE*);
......
......@@ -1014,6 +1014,7 @@ int HOST::parse(FILE* fin) {
if (parse_double(buf, "<d_free>", d_free)) continue;
if (parse_double(buf, "<n_bwup>", n_bwup)) continue;
if (parse_double(buf, "<n_bwdown>", n_bwdown)) continue;
if (parse_str(buf, "<p_features>", p_features, sizeof(p_features))) continue;
// parse deprecated fields to avoid error messages
//
......@@ -1024,7 +1025,6 @@ int HOST::parse(FILE* fin) {
// fields reported by 5.5+ clients, not currently used
//
if (match_tag(buf, "<p_features>")) continue;
if (match_tag(buf, "<p_capabilities>")) continue;
if (match_tag(buf, "<accelerators>")) continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment