Add timing utility functions