update timing macros to be more precise