Updates the app_kernel benchmark so that its default configuration does not enable timeslicing. As it is still valuable to know what kind of performance overhead is incurred by enabling timeslicing, new test configurations have been added. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
28 lines
572 B
Plaintext
28 lines
572 B
Plaintext
CONFIG_TEST=y
|
|
# all printf, fprintf to stdout go to console
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
# eliminate timer interrupts during the benchmark
|
|
CONFIG_SYS_CLOCK_TICKS_PER_SEC=1
|
|
|
|
CONFIG_MAIN_THREAD_PRIORITY=6
|
|
CONFIG_FORCE_NO_ASSERT=y
|
|
|
|
# Disable HW Stack Protection (see #28664)
|
|
CONFIG_TEST_HW_STACK_PROTECTION=n
|
|
CONFIG_HW_STACK_PROTECTION=n
|
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|
|
|
|
# Can only run under 1 CPU
|
|
CONFIG_MP_MAX_NUM_CPUS=1
|
|
|
|
# Enable pipes
|
|
CONFIG_PIPES=y
|
|
|
|
CONFIG_APPLICATION_DEFINED_SYSCALL=y
|
|
CONFIG_TIMING_FUNCTIONS=y
|
|
CONFIG_USERSPACE=y
|
|
|
|
# Disable time slicing
|
|
CONFIG_TIMESLICING=n
|