Changes between Version 3 and Version 4 of StatusApi


Ignore:
Timestamp:
Jul 29, 2013, 11:56:04 AM (11 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StatusApi

    v3 v4  
    1111
    1212struct APP_INIT_DATA {
    13     int major_version;                  // client version number
     13    int major_version;          // BOINC client version info
    1414    int minor_version;
    1515    int release;
    16     int app_version;                    // app version number
    17     char app_name[256];                 // name of this app
    18     char symstore[256];                 // URL of symbol store (Windows)
    19     char acct_mgr_url[256];             // URL of account manager, if any
    20     char* project_preferences;  // project preferences (XML)
    21     int hostid;                                 // ID of this host in project DB
     16    int app_version;
     17    char app_name[256];
     18    char symstore[256];         // symstore URL (Windows)
     19    char acct_mgr_url[256];
     20        // if client is using account manager, its URL
     21    char* project_preferences;
     22        // project prefs XML
     23    int userid;
     24        // project's DB ID for this user/team/host
     25    int teamid;
     26    int hostid;
    2227    char user_name[256];
    2328    char team_name[256];
    24     char project_dir[256];              // absolute path of this project's directory
    25     char boinc_dir[256];                // absolute path of BOINC data directory
    26     char wu_name[256];                  // name of this workunit
    27     char authenticator[256];    // user's authenticator
    28     int slot;                                   // slot # in which we're running
     29    char project_dir[256];      // where project files are stored on host
     30    char boinc_dir[256];        // BOINC data directory
     31    char wu_name[256];          // workunit name
     32    char result_name[256];
     33    char authenticator[256];    // user's authenticator
     34    int slot;                   // the slot this job is running in (0, 1, ...)
     35    int client_pid;             // process ID of BOINC client
    2936    double user_total_credit;
    3037    double user_expavg_credit;
    3138    double host_total_credit;
    3239    double host_expavg_credit;
    33     double resource_share_fraction;
    34     HOST_INFO host_info;                // description of host hardware
    35     PROXY_INFO proxy_info;      // in case app wants to use network
     40    double resource_share_fraction;     // this project's resource share frac
     41    HOST_INFO host_info;
     42    PROXY_INFO proxy_info;      // in case app wants to use network
    3643    GLOBAL_PREFS global_prefs;
    37     double starting_elapsed_time;
     44    double starting_elapsed_time;   // elapsed time, counting previous episodes
     45    bool using_sandbox;         // client is using account-based sandboxing
    3846
    3947    // info about the WU
     
    4250    double rsc_memory_bound;
    4351    double rsc_disk_bound;
     52    double computation_deadline;
    4453
    4554    // the following are used for compound apps,
    46     // where each stage of the computation is a fixed
    47     // fraction of the total.
     55    // where each stage of the computation is a fixed fraction of the total.
     56    //
    4857    double fraction_done_start;
    4958    double fraction_done_end;
     59
     60    // info for GPU apps
     61    //
     62    char gpu_type[64];
     63    int gpu_device_num;
     64    int gpu_opencl_dev_index;
     65    double gpu_usage;   // APP_VERSION.gpu_usage.usage
     66
     67    // info for multicore apps: how many cores to use
     68    //
     69    double ncpus;
     70
     71    // client configuration info
     72    //
     73    bool vbox_window;       // whether to open a console window for VM apps
     74
     75    // Items used by the BOINC runtime system
     76    //
     77    double checkpoint_period;     // recommended checkpoint period
     78    SHMEM_SEG_NAME shmem_seg_name;
     79    double wu_cpu_time;       // cpu time from previous episodes
    5080};
    5181}}}