Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adjust to openjdk/jmh#115
  • Loading branch information
lrytz committed Sep 25, 2025
commit d3089a0367488d5ca7b0e501d825a4d1c2a00dcc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static class NormTimeResult extends Result<NormTimeResult> {
private final long ops;

public NormTimeResult(String prefix, long cycles, long instructions) {
super(ResultRole.SECONDARY, Defaults.PREFIX + prefix, of(Double.NaN), "---", AggregationPolicy.AVG);
super(ResultRole.SECONDARY, prefix, of(Double.NaN), "---", AggregationPolicy.AVG);
this.prefix = prefix;
this.scalar = cycles;
this.ops = instructions;
Expand All @@ -111,7 +111,7 @@ public NormTimeResult aggregate(Collection<NormTimeResult> results) {

@Override
protected Aggregator<NormTimeResult> getIterationAggregator() {
NormTimeResultAggregator normTimeResultAggregator = new NormTimeResultAggregator(Defaults.PREFIX + prefix);
NormTimeResultAggregator normTimeResultAggregator = new NormTimeResultAggregator(prefix);
return (Aggregator<NormTimeResult>) (Object) normTimeResultAggregator;
}

Expand Down