Commit 6b438790 authored by Noric Couderc's avatar Noric Couderc
Browse files

Changed printing of CostFeature

We print the same thing as what the Feature Printer prints
parent 8c6703e6
......@@ -2,6 +2,7 @@ package se.lth.cs.util
import se.lth.cs.papicounters.PAPICounter
import se.lth.cs.timing.OperationType
import se.lth.cs.timing.OperationTypeTable
/**
* A class that represents features for our current thing
......@@ -78,7 +79,7 @@ class CostFeature(val opType : OperationType) : Feature() {
}
override fun toString(): String {
return "Cycles per %s".format(opType.toString())
return OperationTypeTable.getOperationTypeFeatureName(opType)
}
}
......
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