0 Replies Latest reply on Oct 17, 2008 12:27 AM by jfkong

    inaccurate timer in CAL Samples

    jfkong

      In amdcal/samples/common/Timer.cpp   (AMD streaming SDK 1.2beta)

      Timing is calculated using following statement:

      (i64)s.tv_sec * 1000 + (i64)s.tv_usec/1000

      This causes measured time round to 1ms (losing precision)

      It is not a big deal. But it may affect time measurement when the actual time is around few ms.