mirror of https://github.com/BOINC/boinc.git
poor programming practice
svn path=/trunk/boinc/; revision=8029
This commit is contained in:
parent
a6bf4fc4d3
commit
5e7c9472ae
|
@ -225,9 +225,9 @@ void compute_avg_turnaround(HOST& host, double turnaround) {
|
|||
}
|
||||
|
||||
double elapsed_wallclock_time() {
|
||||
static double wallclock_execution_time=0;
|
||||
static double wallclock_execution_time=0.0;
|
||||
|
||||
if (!wallclock_execution_time) {
|
||||
if (wallclock_execution_time == 0.0) {
|
||||
wallclock_execution_time=dtime();
|
||||
return 0.0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue