ps like statement for cuda

hi all,

may I ask is there are a system timer that can help to time how much time each process has spend on GPU?

like the sar command

sysstat

Best regards,

No, there isn’t. One of the NVIDIA developers that posts here indicated that the development team had been thinking about providing a sar or top style utility for CUDA, but nothing exists today.

You can, however, use the visual profiler to collect statistics on a running application, or you can use the runtime API events mechanism to instrument your code with device timers to collect time data during execution.