You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2022/09/07 09:36:17 UTC
[mynewt-core] branch master updated: coremark: Compute number of iteration automatically by default
This is an automated email from the ASF dual-hosted git repository.
jerzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push:
new a8506ad22 coremark: Compute number of iteration automatically by default
a8506ad22 is described below
commit a8506ad22a3f14b43b6333bb4b5b6e2622a216d1
Author: Jerzy Kasenberg <je...@codecoup.pl>
AuthorDate: Tue Sep 6 22:52:28 2022 +0200
coremark: Compute number of iteration automatically by default
Default value 200 for COREMARK_ITERATIONS is not good enough for
most BSP/MCUs.
Making default value 0 makes coremark pre-compute number of
iterations needed for 10-20s of benchmark time.
this change will make most (maybe all) BSP work out of the box.
---
apps/coremark/syscfg.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/coremark/syscfg.yml b/apps/coremark/syscfg.yml
index 35d7d4e4e..f4a0bfb8d 100644
--- a/apps/coremark/syscfg.yml
+++ b/apps/coremark/syscfg.yml
@@ -19,7 +19,7 @@
syscfg.defs:
COREMARK_ITERATIONS:
description: Number of iterations to run
- value: 200
+ value: 0
syscfg.vals.HARDFLOAT:
FLOAT_USER: 1