precision of cut*Timer

What’s the precision of this timer? how long should a test case run, so that the return value of the cutGetTimerValue are accurate?

is it depending on the os? I’m running cuda 1.0 on openSUSE 10.2.


The CUT timer functions use gettimeofday() under Linux (see common/inc/stopwatch_linux.h).

You probably want your test case to run for a second or so to get accurate results.