Moved TimeMetric to XCore.