ソースを参照

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

Wendal Chen 2 年 前
コミット
e48b1ae53d
1 ファイル変更2 行追加0 行削除
  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