Commit 43bf34fd authored by Noric Couderc's avatar Noric Couderc
Browse files

Fixed bug writing software counters to the wrong file.

Made the name of output file more generic and fixed the help.
parent f30caa48
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -22,14 +22,14 @@ class PapiCommandLine : CliktCommand() {
            .default("papi_avail")

    val outputFileName : String by option("-o", help="The output file for PAPI counter data")
            .default("hardware-perf-data.csv")
            .default("output.csv")

    val numberRuns : Int by option("--number-runs", "-n",
            help="Number of runs per counter and application")
            .int()
            .default(100)

    val softwareCounters : Boolean by option("-s", "--software-counters")
    val softwareCounters : Boolean by option("-s", "--software-counters", help="Prints software counters to output file")
            .flag()

    fun checkFileExists(file : File) {