use vtime and vmin to implement timing.