tests: disable timeslicing on app_kernel

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>
This commit is contained in:
Peter Mitsis 2023-12-14 14:29:43 -05:00 committed by Carles Cufí
commit 4e37071f57
3 changed files with 20 additions and 0 deletions

View file

@ -21,3 +21,6 @@ CONFIG_PIPES=y
CONFIG_APPLICATION_DEFINED_SYSCALL=y CONFIG_APPLICATION_DEFINED_SYSCALL=y
CONFIG_TIMING_FUNCTIONS=y CONFIG_TIMING_FUNCTIONS=y
# Disable time slicing
CONFIG_TIMESLICING=n

View file

@ -22,3 +22,6 @@ CONFIG_PIPES=y
CONFIG_APPLICATION_DEFINED_SYSCALL=y CONFIG_APPLICATION_DEFINED_SYSCALL=y
CONFIG_TIMING_FUNCTIONS=y CONFIG_TIMING_FUNCTIONS=y
CONFIG_USERSPACE=y CONFIG_USERSPACE=y
# Disable time slicing
CONFIG_TIMESLICING=n

View file

@ -32,3 +32,17 @@ tests:
extra_configs: extra_configs:
- CONFIG_OBJ_CORE=y - CONFIG_OBJ_CORE=y
- CONFIG_OBJ_CORE_STATS=y - CONFIG_OBJ_CORE_STATS=y
benchmark.kernel.application.timeslicing:
integration_platforms:
- mps2_an385
- qemu_x86
extra_configs:
- CONFIG_TIMESLICING=y
benchmark.kernel.application.user.timeslicing:
extra_args: CONF_FILE=prj_user.conf
filter: CONFIG_ARCH_HAS_USERSPACE
integration_platforms:
- mps2_an385
- qemu_x86
extra_configs:
- CONFIG_TIMESLICING=y