*** empty log message ***

svn path=/trunk/boinc/; revision=2315
This commit is contained in:
Karl Chen 2003-09-08 06:07:48 +00:00
parent 3b309a74e1
commit 78d541add2
2 changed files with 12 additions and 9 deletions

View File

@ -6224,6 +6224,11 @@ Karl 2003/09/07
- new count() methods with arbitrary arguments like find()
- misc. bug fixes
- make_project and setup_project modify database directly instead of
calling old_add
- make_project doesn't add platform, app, or app_version
Karl 2003/09/07
- changed all user-visible cobblestone numbers to use a new
format_credit() function which does sprintf %.3f

View File

@ -516,16 +516,14 @@ int CLIENT_STATE::current_disk_usage(double& size) {
return dir_size(".", size);
}
// TODO: remove delete these
// estimate how long a WU will take on this host
//
double CLIENT_STATE::estimate_cpu_time(WORKUNIT& wu) {
double x;
// // estimate how long a WU will take on this host
// //
// double CLIENT_STATE::estimate_cpu_time(WORKUNIT& wu) {
// double x;
// x = wu.rsc_fpops_est/host_info.p_fpops;
// return x;
// }
x = wu.rsc_fpops_est/host_info.p_fpops;
return x;
}
inline double force_fraction(double f) {
if (f < 0) return 0;