Timer&Event in mexfile

What is the difference between Event and Timer? I need a timere to know execution time of my kernel, in a cuda mexfile