Added an option to measure timestamps