Measures and compares execution time of code snippets at clock cycle level