Browse Source

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

Wendal Chen 2 years ago
parent
commit
e48b1ae53d
1 changed files with 2 additions and 0 deletions
  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