Commit 65ebc8f2 authored by Noric Couderc's avatar Noric Couderc
Browse files

Deleted unused function runFunctionMedian

parent d4b85008
......@@ -189,19 +189,6 @@ open class PapiRunner(numRuns : Int, counters: CounterSpecification) {
return result.toMap()
}
/**
* Runs a function several times, gather the performance counters
* and returns their median
* @param numRuns Number of times the function should be ran
* @param function The function to benchmark
* @return A map from PAPI counter names to the median of their values over numRuns
*/
fun runFunctionMedian(counter: String, function: () -> Unit): Double {
val data = runFunction(counter, function)
return medianLong(data)
}
fun runApplications(syntheticBenchmarks: List<BCBenchmarkPackage<*>>): List<Triple<BCBenchmarkPackage<*>, String, List<Long>>> {
// return syntheticBenchmarks.map { b -> runApplication(iterations, b) }
......
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