...
 
Commits (2)
......@@ -10,7 +10,7 @@ public class CollectionApplication<T extends Collection> extends Application<T>
CollectionApplication(int seed, int applicationSize, Collection structure) {
super(seed, applicationSize, (T) structure);
// We add random numbers to it.
// We add random numbers to the argument for addAll(Collection)
randomGenerator.ints(100).forEach((i) -> argument.add(i));
}
......@@ -25,7 +25,7 @@ public class CollectionApplication<T extends Collection> extends Application<T>
public CollectionApplication(int seed, List<String> trace, Collection<Integer> init) {
super(seed, trace, (T) init);
// We add random numbers to it.
// We add random numbers to the argument for addAll(Collection)
randomGenerator.ints(100).forEach((i) -> argument.add(i));
}
......
......@@ -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) {
......