add time measurement.
Perfect time measurement module.