Added a function to properly time executions of basic function.
Added a function to properly time executions of basic function.

agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd