Skip to content

Commit

Permalink
Commenting out printlns
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Kit committed Feb 1, 2014
1 parent 85fb55b commit 6ed9993
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void invokeAndWait(Runnable doRun) throws InterruptedException {

@Override
public void at(long time) {
System.out.println("Scheduler " +host.getId()+" at: "+time+" called with queue: " + Arrays.toString(queue.toArray()));
//System.out.println("Scheduler " +host.getId()+" at: "+time+" called with queue: " + Arrays.toString(queue.toArray()));
SchedulerEvent event;
while ((event = queue.first()) != null) {
// if notified too early
Expand Down Expand Up @@ -175,7 +175,7 @@ private void registerNextExecution() {
return; //nextExecutionTime = host.getSimulationTime() + 1;
}
host.callAt(nextExecutionTime);
System.out.println("Scheduler " + host.getId() + " registering callback at " + nextExecutionTime);
//System.out.println("Scheduler " + host.getId() + " registering callback at " + nextExecutionTime);
}
}

Expand Down

0 comments on commit 6ed9993

Please sign in to comment.