Skip to content
Snippets Groups Projects
Commit 67f70fca authored by Unknown's avatar Unknown
Browse files

formatStatistics: adding console output

parent 1d2f3820
No related branches found
No related tags found
1 merge request!2Format statistics
......@@ -290,7 +290,7 @@ public class BenchmarkJobManager {
}
if (null != processedTask ) {
for (int i = 1; i < id.size(); i++) {
for (int i = 0; i < id.size(); i++) {
processedTask.jobs.add(new ResultFileJob(id.get(i), memoryUsed.get(i), wallTime.get(i), cpuPercentage.get(i)));
}
identifiedTasks.add(processedTask);
......@@ -301,6 +301,10 @@ public class BenchmarkJobManager {
} catch (ParseException e) {
log.error(e.getMessage(), e);
}
for (ResultFileTask task : identifiedTasks) {
System.out.println("Task " + task.name + " needed " + task.getJobCount() + " jobs and " + task.getAverageMemoryUsage() +" MB of memory in average.");
}
}
private static Settings constructSettingsFromParams(BenchmarkSPIMParameters params) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment