if (delegateServicePerformance != null) {
// calculate the time spent in analysis. The remote service returns total time
// spent in the analysis. Compute the delta.
long dt = timeInProcessCAS - delegateServicePerformance.getRawAnalysisTime();
// increment total time in analysis
delegateServicePerformance.incrementAnalysisTime(dt);
getController().getServicePerformance().incrementAnalysisTime(dt);
}
} else {
getController().getServicePerformance().incrementAnalysisTime(timeInProcessCAS);
}