Added more sofisticated cuda-timing