public synchronized TaskStats markTaskStart(PerfTask task,int round){
  TaskStats stats=new TaskStats(task,nextTaskRunNum(),round);
  this.currentStats=stats;
  points.add(stats);
  return stats;
}

public synchronized TaskStats markTaskStart ( PerfTask task , int round ) { TaskStats stats = new TaskStats ( task , nextTaskRunNum ( ) , round ) ; this . currentStats = stats ; points . add ( stats ) ; return stats ; }
mark that a task is starting . create a task stats for it and store it as a point .
