public enum BasicUnit {
SCALAR,
BITS,
BYTES,
SECS,
<BUG>CORES,

MAX_UNITS;</BUG>
}
public static final class MeasurementUnit {

public enum BasicUnit {
SCALAR,
BITS,
BYTES,
SECS,
CORES;
}
public static final class MeasurementUnit {
