7159f09375
This patch changes the enable options of coremark, coremark-pro and cachespeed from bool to tristate. This allows the user to select the benchmark to be built as a elf module, which can be loaded and executed on the target dynamically. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
82 lines
1.8 KiB
Plaintext
82 lines
1.8 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menuconfig BENCHMARK_COREMARK_PRO
|
|
tristate "Coremark Pro Benchmark"
|
|
default n
|
|
depends on LIBC_FLOATINGPOINT
|
|
|
|
if BENCHMARK_COREMARK_PRO
|
|
|
|
config BENCHMARK_COREMARK_PRO_STACKSIZE
|
|
int "Coremark Pro stack size"
|
|
default 131072
|
|
|
|
config BENCHMARK_COREMARK_PRO_PRIORITY
|
|
int "Coremark Pro priority"
|
|
default 100
|
|
|
|
config BENCHMARK_COREMARK_PRO_USE_SINGLE_CONTEXT
|
|
bool "use single context"
|
|
default n
|
|
|
|
config BENCHMARK_COREMARK_PRO_SMP
|
|
bool "Relevant configurations in case of SMP"
|
|
default n
|
|
depends on SMP && !BENCHMARK_COREMARK_PRO_USE_SINGLE_CONTEXT
|
|
|
|
config BENCHMARK_COREMARK_PRO_64BIT
|
|
bool "Running on 64-bit operating systems"
|
|
default n
|
|
|
|
config BENCHMARK_COREMARK_PRO_USE_FP64
|
|
bool "USE FP64 Data for Test"
|
|
default n
|
|
|
|
config BENCHMARK_COREMARK_PRO_CORE_TEST
|
|
bool "Core Test"
|
|
default n
|
|
|
|
config BENCHMARK_COREMARK_PRO_CJPEG_TEST
|
|
bool "cjpeg-rose7-preset"
|
|
default n
|
|
---help---
|
|
Before using this case, place the files in coremark-pro/benchmarks/libbmp
|
|
and coremark-pro/benchmarks/libjpeg in /data/libbmp and /data/libjpeg
|
|
respectively
|
|
|
|
config BENCHMARK_COREMARK_PRO_LINEAR_ALG_MID_TEST
|
|
bool "Linear_alg_mid TEST"
|
|
default n
|
|
|
|
config BENCHMARK_COREMARK_PRO_SHA_TEST
|
|
bool "SHA Test"
|
|
default n
|
|
|
|
config BENCHMARK_COREMARK_PRO_ZIP_TEST
|
|
bool "Zip Test"
|
|
depends on LIB_ZLIB
|
|
default n
|
|
|
|
choice
|
|
prompt "Coremark Pro FP Test Case configuration"
|
|
default BENCHMARK_COREMARK_PRO_RADIX_TEST
|
|
|
|
config BENCHMARK_COREMARK_PRO_RADIX_TEST
|
|
bool "Radix Test"
|
|
|
|
config BENCHMARK_COREMARK_PRO_LOOPS_ALL_MID_TEST
|
|
bool "Loops-all-mid test"
|
|
|
|
config BENCHMARK_COREMARK_PRO_NNET_TEST
|
|
bool "Nnet Test"
|
|
|
|
config BENCHMARK_COREMARK_PRO_PARSER_125K
|
|
bool "Parser 125K Test"
|
|
|
|
endchoice
|
|
|
|
endif
|