Skip to content

Commit

Permalink
samples: CoreMark: Increase CoreMark iterations for moonlight platforms
Browse files Browse the repository at this point in the history
Increase iterations in order to meet required test duration of 10s.

Jira: none

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
  • Loading branch information
zycz authored and rlubos committed Apr 12, 2024
1 parent 250fec8 commit e34fd6c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/coremark/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if COREMARK
config COREMARK_ITERATIONS
int "Number of iterations to run"
range 10 10000
default 1000
default 2000
help
Specify the number of iterations to run the benchmark.
CoreMark should execute for at least 10 seconds to have valid results.
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

CONFIG_BOARD_ENABLE_CPUNET=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause

CONFIG_COREMARK_ITERATIONS=4000
2 changes: 0 additions & 2 deletions samples/benchmarks/coremark/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
# Common coremark configuration
CONFIG_COREMARK=y

CONFIG_COREMARK_ITERATIONS=2000

# Increse if number of threads increases.
CONFIG_MAIN_STACK_SIZE=4096

Expand Down

0 comments on commit e34fd6c

Please sign in to comment.