sorry one typo

.....

-    printf("\nTime accuracy test (%i sec)\n", TEST_SEC);
+    printf("\nCPU cycle count accuracy test (%i sec)\n", TEST_SEC);
Maybe beter to put this line under clock_gettime? In order to not miss

*under -> above

t1 == t2? Maybe here it's not so important but if it's going to be
replaced on odp_time, better to do it here, anyway printf is changed.


      do {
          if (clock_gettime(CLOCK_MONOTONIC, &tp1)) {
@@ -738,7 +719,7 @@ static void test_time(void)

      } while (tp1.tv_sec == tp2.tv_sec);

-    t1 = odp_time_cycles();
+    c1 = odp_cpu_cycles();
........

--
Regards,
Ivan Khoronzhuk
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to