Changeset 1456 for DCWoRMS/branches


Ignore:
Timestamp:
12/18/14 15:39:19 (10 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/Executable.java

    r1423 r1456  
    424424                 
    425425                usefulWork = (usefulWork != -1) ? usefulWork : this.getLength(); 
     426                double tempCompletionPercentage = this.execProfile != null ? this.execProfile.getCompletionPercentage() : 0; 
    426427                this.execProfile = new ExecutionProfile(execPhases); 
    427428                this.execProfile.setUsefulWork(usefulWork); 
     429                this.execProfile.setCompletionPercentage(tempCompletionPercentage); 
    428430 
    429431        } 
Note: See TracChangeset for help on using the changeset viewer.