trait for elapsed time measurement