added the runtime measurement utility