*/
protected List<Double> getPerformances(List<IApplication> apps,
IPerformanceType perfType) {
List<Double> perfs = new ArrayList<>();
for (IApplication app : apps) {
IPerformance perf = null;
try {
perf = perfDB.getPerformance(app, perfType);
} catch (Exception ex) {
SimSystem.report(Level.INFO,
"Could not get performance for application #" + app.getID()
+ " and performance type #" + perfType.getID(), ex);
}
if (perf == null) {
continue;
}
perfs.add(perf.getPerformance());
}
return perfs;
}