Added elapsed time counter into compiler