~ubuntu-branches/debian/sid/boinc/sid

« back to all changes in this revision

Viewing changes to lib/hostinfo.h

  • Committer: Package Import Robot
  • Author(s): Steffen Moeller
  • Date: 2011-08-08 01:36:51 UTC
  • mfrom: (6.1.11 experimental)
  • Revision ID: package-import@ubuntu.com-20110808013651-m1hs3cltiveuteyn
Tags: 6.13.1+dfsg-2
* Bringing notify patch to unstable.
* Adjusted build dependency to libjpeg-dev (Closes: #641093)
* Further improvements on stripchart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    char virtualbox_version[256];
66
66
    // ... add entries for VMWare, others
67
67
 
68
 
    COPROCS coprocs;
 
68
    COPROCS _coprocs;
69
69
 
70
70
    HOST_INFO();
71
71
    int parse(MIOFILE&, bool benchmarks_only = false);
86
86
    void clear_host_info();
87
87
    void make_random_string(const char* salt, char* out);
88
88
    void generate_host_cpid();
89
 
    inline bool have_cuda() {
90
 
        return (coprocs.cuda.count > 0);
91
 
    }
92
 
    inline bool have_ati() {
93
 
        return (coprocs.ati.count > 0);
94
 
    }
95
89
};
96
90
 
97
91
#ifdef __APPLE__