Explorar o código

add: coremark支持bsp定义迭代次数

Wendal Chen %!s(int64=2) %!d(string=hai) anos
pai
achega
e48b1ae53d
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      components/coremark/core_portme.h

+ 2 - 0
components/coremark/core_portme.h

@@ -207,7 +207,9 @@ void portable_fini(core_portable *p);
 
 int ee_printf(const char *fmt, ...);
 
+#ifndef ITERATIONS
 #define ITERATIONS 10000
+#endif
 
 #define CLOCKS_PER_SEC 1000