Source:
public Map<String, String> getEventHoverToolTipInfo(ITimeEvent event, long hoverTime) { AggregatedCalledFunctionStatistics statistics = ((FlamegraphEvent) event).getStatistics(); ImmutableMap.Builder<String, String> builder = new ImmutableMap.Builder<>(); builder.put(String.valueOf(Messages.FlameGraph_Duration), String.format("%s", FORMATTER.format(event.getDuration()))); builder.put(String.valueOf(Messages.FlameGraph_SelfTime), String.format("%s", FORMATTER.format(((FlamegraphEvent) event).getSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_NbCalls), String.valueOf(NumberFormat.getIntegerInstance().format(statistics.getNbSegments()))); builder.put(String.valueOf(Messages.FlameGraph_MaxDuration), String.format("%s", FORMATTER.format((statistics.getMax())))); builder.put(String.valueOf(Messages.FlameGraph_MinDuration), String.format("%s", FORMATTER.format(statistics.getMin()))); builder.put(String.valueOf(Messages.FlameGraph_AverageDuration), String.format("%s", FORMATTER.format(statistics.getAverage()))); builder.put(String.valueOf(Messages.FlameGraph_AverageSelfTime), String.format("%s", FORMATTER.format(statistics.getAverageSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_MaxSelfTime), String.format("%s", FORMATTER.format(statistics.getMaxSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_MinSelfTime), String.format("%s", FORMATTER.format(statistics.getMinSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_Deviation), String.format("%s", FORMATTER.format(statistics.getStdDev()))); builder.put(String.valueOf(Messages.FlameGraph_SelfTimeDeviation), String.format("%s", FORMATTER.format(statistics.getStdDevSelfTime()))); return builder.build(); }

Target:
public Map<String, String> getEventHoverToolTipInfo(ITimeEvent event, long hoverTime) { AggregatedCalledFunctionStatistics statistics = ((FlamegraphEvent) event).getStatistics(); ImmutableMap.Builder<String, String> builder = new ImmutableMap.Builder<>(); builder.put(String.valueOf(Messages.FlameGraph_Duration), String.format("%s", FORMATTER.format(event.getDuration()))); builder.put(String.valueOf(Messages.FlameGraph_SelfTime), String.format("%s", FORMATTER.format(((FlamegraphEvent) event).getSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_NbCalls), String.valueOf(NumberFormat.getIntegerInstance().format(statistics.getNbSegments()))); builder.put(String.valueOf(Messages.FlameGraph_AverageDuration), String.format("%s", FORMATTER.format(statistics.getAverage()))); builder.put(String.valueOf(Messages.FlameGraph_Deviation), String.format("%s", FORMATTER.format(statistics.getStdDev()))); builder.put(String.valueOf(Messages.FlameGraph_MaxDuration), String.format("%s", FORMATTER.format((statistics.getMax())))); builder.put(String.valueOf(Messages.FlameGraph_MinDuration), String.format("%s", FORMATTER.format(statistics.getMin()))); builder.put(String.valueOf(Messages.FlameGraph_AverageSelfTime), String.format("%s", FORMATTER.format(statistics.getAverageSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_SelfTimeDeviation), String.format("%s", FORMATTER.format(statistics.getStdDevSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_MaxSelfTime), String.format("%s", FORMATTER.format(statistics.getMaxSelfTime()))); builder.put(String.valueOf(Messages.FlameGraph_MinSelfTime), String.format("%s", FORMATTER.format(statistics.getMinSelfTime()))); return builder.build(); }