@Override
public Metric getChild( String name ) throws IllegalArgumentException {
if ( children == null ) {
children = new HashMap<>();
}
Metric child = children.get( name );
if ( child == null ) {
Metric childMetric = delegate.getChild( name );
if ( childMetric instanceof TimingMetric ) {
TimeUnit timeUnit = getTimeUnit();
if ( timeUnit == null ) {
timeUnit = ((TimingMetric)childMetric).getTimeUnit();
}