| 170 | | The `fraction_done` argument is an estimate of the workunit fraction complete (from 0 to 1). This function is fast and can be called frequently. The sequence of arguments in successive calls should be non-decreasing. An application should never 'reset' and start over if an error occurs; it should exit with an error code. |
| 171 | | |
| 172 | | {{{ |
| 173 | | #!c++ |
| 174 | | double boinc_get_fraction_done(); |
| 175 | | }}} |
| 176 | | |
| 177 | | returns the last value set, or -1 if none has been set (this would typically be called from graphics code). |
| 178 | | |
| 179 | | == Communicating with the core client == |
| 180 | | |
| 181 | | The following functions get information from the core client; this information may be useful for graphics. |
| | 170 | The `fraction_done` argument is an estimate of the workunit fraction complete (from 0 to 1). |
| | 171 | This function is fast and can be called frequently. |
| | 172 | The sequence of arguments in successive calls should be non-decreasing. |
| | 173 | An application should never 'reset' and start over if an error occurs; it should exit with an error code. |
| | 174 | |
| | 175 | == Miscellaneous data == |
| | 176 | |
| | 177 | The following functions return miscellaneous data: |