added time measurement instrumentations