com.opengamma.engine.exec.stats.GraphExecutionStatistics graphExecutionStatistics = getGraphExecutionStatistics();
return graphExecutionStatistics != null ? graphExecutionStatistics.getProcessedGraphs() : 0;
}
private com.opengamma.engine.exec.stats.GraphExecutionStatistics getGraphExecutionStatistics() {
Statistics statisticsGatherer = _statisticsProvider.getStatisticsGatherer(_viewProcessId);
List<com.opengamma.engine.exec.stats.GraphExecutionStatistics> executionStatistics = statisticsGatherer.getExecutionStatistics();
for (com.opengamma.engine.exec.stats.GraphExecutionStatistics graphExecutionStatistics : executionStatistics) {
if (graphExecutionStatistics.getCalcConfigName().equals(_calcConfigName) && graphExecutionStatistics.getViewProcessId().equals(_viewProcessId)) {
return graphExecutionStatistics;
}
}