long timeOverall = 0;
for (long port : timePerPort) {
timeOverall += port;
}
OperatorMetadataDescriptor meta = desc[i];
EPDataFlowInstanceOperatorStat stat = new EPDataFlowInstanceOperatorStat(meta.getOperatorName(), meta.getOperatorPrettyPrint(), i, submittedOverall, submittedPerPort, timeOverall, timePerPort);
result.add(stat);
}
return result;
}