Commit 608ae8dc authored by Noric Couderc's avatar Noric Couderc
Browse files

Made numRuns a private field initialized in constructor

parent 2ac7df37
......@@ -7,14 +7,13 @@ import papi.PapiException
import se.lth.cs.bcgen.BCBenchmarkPackage
import java.io.FileWriter
open class PapiRunner(numRuns : Int, counters: CounterSpecification) {
open class PapiRunner(private val numRuns: Int, counters: CounterSpecification) {
init {
Papi.init()
}
val counterSpec = counters
val numRuns = numRuns
data class BenchmarkRunData(val benchmark : BCBenchmarkPackage<*>,
val counter : String,
......
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