Added a timing framework