cuda program execution time

Hi!

can anyone tell me , how to get total time of a cuda program that is cpu time + gpu time.

Regards,
Manoj

In linux, if the name of your executable is my_app, you could do:

time ./my_app

For execution times > 1 seconds alternatively a stopwatch might suffice.