The app_kernel benchmarking app has the config file for benchmarking with floating point enabled, but it was never used. So add it to the testcase.yaml. Note that this also limits to run on one CPU on a SMP system as the resulting numbers would be more consistent among runs. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
20 lines
413 B
Plaintext
20 lines
413 B
Plaintext
CONFIG_TEST=y
|
|
# all printf, fprintf to stdout go to console
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
CONFIG_MAIN_THREAD_PRIORITY=6
|
|
|
|
CONFIG_FPU=y
|
|
CONFIG_FPU_SHARING=y
|
|
|
|
# eliminate timer interrupts during the benchmark
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1
|
|
CONFIG_TICKLESS_KERNEL=n
|
|
|
|
CONFIG_FORCE_NO_ASSERT=y
|
|
|
|
# Disable HW Stack Protection (see #28664)
|
|
CONFIG_TEST_HW_STACK_PROTECTION=n
|
|
CONFIG_HW_STACK_PROTECTION=n
|
|
|
|
CONFIG_MP_NUM_CPUS=1
|