public void sampling(ISingleConsole singleConsole, PerfTest perfTest, IPerfTestService perfTestService, ImmutableStatisticsSet intervalStatistics, ImmutableStatisticsSet cumulativeStatistics) {
for (Map.Entry<MonitorClientService, BufferedWriter> each : clientMap.entrySet()) {
try {
SystemInfo currentInfo = each.getKey().getSystemInfo();
BufferedWriter bw = each.getValue();
bw.write(currentInfo.toRecordString());
bw.newLine();
} catch (IOException e) {
LOGGER.error("Error while saving file :" + e.getMessage());
}
}