code: public void startTask(int id, String taskName) {
          if (isActivated) {
              durations.add(new Duration(id, taskName, BenchmarkUtil.elapsedRealTimeNanos()));
          }
      }
docs: Start a task. The id is needed to end the task
  
  @param id
  @param taskName