AnsweredAssumed Answered

How to measure the total elapsed time?

Question asked by yy1990cn on Sep 25, 2014
Latest reply on Sep 26, 2014 by yy1990cn

I've written a OpenCL program, when I measure this program with time in bash, it gives me the following output:

real0m1.141s
user0m0.167s
sys0m0.097s
user+sys0m0.264s

and then I measure the same program in CodeXL, it shows that the total elapsed time is 0.077s. which one is more accurate? what is the best way to measure the total elapsed time of OpenCL programs? thx.

Outcomes