small change to make the naming of output dot files generated by analysis stage and...
authorjzhou <jzhou>
Thu, 27 Mar 2008 19:43:22 +0000 (19:43 +0000)
committerjzhou <jzhou>
Thu, 27 Mar 2008 19:43:22 +0000 (19:43 +0000)
Robust/src/Analysis/Scheduling/ScheduleSimulator.java

index c3b9c4b54c61a7ff76a3ab202c8a590fa60462cf..56882385fa2901e5174d697f71042f02b6ebfb89 100644 (file)
@@ -135,6 +135,8 @@ public class ScheduleSimulator {
     public int process() {
        assert(this.scheduling != null);
        
+       this.invoketime++;
+       
        if(this.checkpoints == null) {
            this.checkpoints = new Vector<CheckPoint>();
        } else {
@@ -314,7 +316,6 @@ public class ScheduleSimulator {
        for(int j = 0; j < this.cores.size(); j++) {
            System.out.println("\t\tcore" + j + ": " + getUtility(j) + "%");
        }
-       this.invoketime++;
        return this.processTime;
     }