mirror of https://github.com/BOINC/boinc.git
- scheduler: make host.p_features available to app_plan()
svn path=/trunk/boinc/; revision=17307
This commit is contained in:
parent
d848e54518
commit
65679139c5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue