TimeUnit.MILLISECONDS);
}
@Override
public void newSuperstep(SuperstepMetricsRegistry superstepMetrics) {
superstepTimer = new GiraphTimer(superstepMetrics,
TIMER_SUPERSTEP_TIME, TimeUnit.MILLISECONDS);
computeAll = new GiraphTimer(superstepMetrics,
TIMER_COMPUTE_ALL, TimeUnit.MILLISECONDS);
timeToFirstMessage = new GiraphTimer(superstepMetrics,
TIMER_TIME_TO_FIRST_MSG, TimeUnit.MICROSECONDS);
communicationTimer = new GiraphTimer(superstepMetrics,
TIMER_COMMUNICATION_TIME, TimeUnit.MILLISECONDS);
wcPreSuperstepTimer = new GiraphTimer(superstepMetrics,
"worker-context-pre-superstep", TimeUnit.MILLISECONDS);
}