change printing format\nadd test to compute the resolution of the timer.