Commit 90a0ca31 authored by Noric Couderc's avatar Noric Couderc
Browse files

Flush buffer for every benchmark data

I'm doing this, hoping that it prevents problems memory leaks in the
when writing the feature vectors to a file.
parent 33190962
...@@ -39,6 +39,7 @@ abstract class SyntheticBenchmarkDataPrinter(out : Writer, ...@@ -39,6 +39,7 @@ abstract class SyntheticBenchmarkDataPrinter(out : Writer,
for (syntheticBenchmark in syntheticBenchmarks) { for (syntheticBenchmark in syntheticBenchmarks) {
System.out.println("Printing benchmark: %s".format(syntheticBenchmark.benchmarkIdentifier)) System.out.println("Printing benchmark: %s".format(syntheticBenchmark.benchmarkIdentifier))
printBenchmarkRows(syntheticBenchmark) printBenchmarkRows(syntheticBenchmark)
} }
printer.close() printer.close()
...@@ -13,10 +13,7 @@ import se.lth.cs.papicounters.PAPICounter ...@@ -13,10 +13,7 @@ import se.lth.cs.papicounters.PAPICounter
import se.lth.cs.papicounters.PapiTracerRunner import se.lth.cs.papicounters.PapiTracerRunner
import se.lth.cs.util.brainyFeatures import se.lth.cs.util.brainyFeatures
import se.lth.cs.util.normalize import se.lth.cs.util.normalize
import import*
import import
import import
import kotlin.system.exitProcess import kotlin.system.exitProcess
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment