Commit 048f1624 authored by Noric Couderc's avatar Noric Couderc
Browse files

Made sure order of counters is consistent

Because we might need to iterate on them (and because the eventSet is
actually a list). We want to make sure the counters are not mixed up.
parent cf82e5c2
......@@ -10,7 +10,7 @@ import java.lang.RuntimeException
*/
class EventSetBuilder(val availableCounters : List<PAPICounter>) : FeatureVisitor {
private var counterSet : MutableSet<PAPICounter> = mutableSetOf()
private var counterSet : LinkedHashSet<PAPICounter> = java.util.LinkedHashSet()
override fun visitPAPICounter(c: PAPICounter) {
counterSet.add(c)
......
package se.lth.cs.util
class Experiment {
}
\ No newline at end of file
class ExperimentTest {
}
\ No newline at end of file
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