if (fCheckers == null)
return; // nothing to do
// get reference build tag
Variations refKeys= PerformanceTestPlugin.getAssertAgainst();
if (refKeys == null)
return; // nothing to do
if (!(performanceMeter instanceof InternalPerformanceMeter))
return; // we cannot handle this.
InternalPerformanceMeter ipm= (InternalPerformanceMeter) performanceMeter;
Sample session= ipm.getSample();
Assert.assertTrue("metering session is null", session != null); //$NON-NLS-1$
String scenarioName= session.getScenarioID();
// determine all dimensions we need
HashSet allDimensions= new HashSet();
for (int i= 0; i < fCheckers.length; i++) {
AssertChecker chk= fCheckers[i];
Dim[] dims= chk.getDimensions();
for (int j= 0; j < dims.length; j++)
allDimensions.add(dims[j]);
}
// get data for this session
DataPoint[] sessionDatapoints;
Variations config= PerformanceTestPlugin.getVariations();
if (config != null)
sessionDatapoints= DB.queryDataPoints(config, scenarioName, allDimensions);
else
sessionDatapoints= session.getDataPoints();
if (sessionDatapoints == null || sessionDatapoints.length == 0) {