コード例 #1
0
 @Override
 public void reset() {
   com.opengamma.engine.view.calc.stats.GraphExecutionStatistics graphExecutionStatistics =
       getGraphExecutionStatistics();
   if (graphExecutionStatistics != null) {
     graphExecutionStatistics.reset();
   }
 }
コード例 #2
0
 @Override
 public String getLastExecutedTime() {
   com.opengamma.engine.view.calc.stats.GraphExecutionStatistics graphExecutionStatistics =
       getGraphExecutionStatistics();
   return graphExecutionStatistics != null
       ? graphExecutionStatistics.getLastExecutedTime().toString()
       : null;
 }
コード例 #3
0
 @Override
 public Long getProcessedJobDataCost() {
   com.opengamma.engine.view.calc.stats.GraphExecutionStatistics graphExecutionStatistics =
       getGraphExecutionStatistics();
   return graphExecutionStatistics != null
       ? graphExecutionStatistics.getProcessedJobDataCost()
       : null;
 }
コード例 #4
0
 private com.opengamma.engine.view.calc.stats.GraphExecutionStatistics
     getGraphExecutionStatistics() {
   Statistics statisticsGatherer = _statisticsProvider.getStatisticsGatherer(_viewProcessId);
   List<com.opengamma.engine.view.calc.stats.GraphExecutionStatistics> executionStatistics =
       statisticsGatherer.getExecutionStatistics();
   for (com.opengamma.engine.view.calc.stats.GraphExecutionStatistics graphExecutionStatistics :
       executionStatistics) {
     if (graphExecutionStatistics.getCalcConfigName().equals(_calcConfigName)
         && graphExecutionStatistics.getViewProcessId().equals(_viewProcessId)) {
       return graphExecutionStatistics;
     }
   }
   return null;
 }
コード例 #5
0
 @Override
 public Long getActualTime() {
   com.opengamma.engine.view.calc.stats.GraphExecutionStatistics graphExecutionStatistics =
       getGraphExecutionStatistics();
   return graphExecutionStatistics != null ? graphExecutionStatistics.getActualTime() : 0;
 }
コード例 #6
0
 @Override
 public Long getExecutedNodes() {
   com.opengamma.engine.view.calc.stats.GraphExecutionStatistics graphExecutionStatistics =
       getGraphExecutionStatistics();
   return graphExecutionStatistics != null ? graphExecutionStatistics.getExecutedNodes() : null;
 }