high-resolution time wrapper