I've written a OpenCL program, when I measure this program with time in bash, it gives me the following output:
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.