public long getToTime(TimeUnit unit) {
        return unit.convert(toMillis, TimeUnit.MILLISECONDS);
    }
A snapshot of the metrics of this system in a particular time interval.

@author Simon Thoresen Hult
container-core/src/main/java/com/yahoo/container/jdisc/state/MetricSnapshot.java