public SortedSet<MetadataTimingStatistic> getTimings() {
final SortedSet<MetadataTimingStatistic> result = new TreeSet<MetadataTimingStatistic>();
synchronized (mutex) {
for (final String key : timings.keySet()) {
result.add(new StandardMetadataTimingStatistic(key, timings
.get(key), invocations.get(key)));
}
}
return result;
}