benchmarks: reorg configuration and split float tests
Change-Id: Ic988b5028eaffb0a1c2ed52d28f1eddb98c15130 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
872676c735
commit
4f5b4cb92c
12 changed files with 75 additions and 4 deletions
|
@ -4,9 +4,13 @@ BOARD ?= qemu_x86
|
|||
|
||||
MDEF_FILE = micro_${TEST}.mdef
|
||||
KERNEL_TYPE = micro
|
||||
CONF_FILE = $(or $(wildcard prj_${TEST}_${ARCH}_${BOARD}.conf), \
|
||||
$(wildcard prj_${TEST}_${ARCH}.conf))
|
||||
CFLAGS += -DTEST_${TEST}
|
||||
CONF_FILE = $(or $(wildcard $(TEST)/$(BOARD).conf), \
|
||||
$(wildcard $(TEST)/$(ARCH).conf))
|
||||
ifeq ($(TEST),float)
|
||||
CFLAGS += -DTEST_max
|
||||
else
|
||||
CFLAGS += -DTEST_$(TEST)
|
||||
endif
|
||||
|
||||
include ${ZEPHYR_BASE}/Makefile.inc
|
||||
|
||||
|
|
12
samples/microkernel/benchmark/footprint/max/arm.conf
Normal file
12
samples/microkernel/benchmark/footprint/max/arm.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
CONFIG_ISR_STACK_SIZE=2048
|
||||
CONFIG_MAIN_STACK_SIZE=1024
|
||||
CONFIG_COMMAND_STACK_SIZE=64
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_NUM_TASK_PRIORITIES=64
|
||||
CONFIG_NUM_COMMAND_PACKETS=64
|
||||
CONFIG_NUM_TIMER_PACKETS=16
|
||||
CONFIG_MICROKERNEL_SERVER_STACK_SIZE=4096
|
||||
CONFIG_ADVANCED_POWER_MANAGEMENT=y
|
||||
CONFIG_MAX_NUM_TASK_IRQS=2
|
||||
CONFIG_NUM_IRQS=43
|
13
samples/microkernel/benchmark/footprint/max/x86.conf
Normal file
13
samples/microkernel/benchmark/footprint/max/x86.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
CONFIG_ISR_STACK_SIZE=2048
|
||||
CONFIG_MAIN_STACK_SIZE=1024
|
||||
CONFIG_COMMAND_STACK_SIZE=64
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_STDOUT_CONSOLE=y
|
||||
CONFIG_IDT_NUM_VECTORS=256
|
||||
CONFIG_NUM_TASK_PRIORITIES=64
|
||||
CONFIG_NUM_COMMAND_PACKETS=64
|
||||
CONFIG_NUM_TIMER_PACKETS=16
|
||||
CONFIG_MICROKERNEL_SERVER_STACK_SIZE=4096
|
||||
CONFIG_ADVANCED_POWER_MANAGEMENT=y
|
||||
CONFIG_MAX_NUM_TASK_IRQS=2
|
||||
|
37
samples/microkernel/benchmark/footprint/micro_float.mdef
Normal file
37
samples/microkernel/benchmark/footprint/micro_float.mdef
Normal file
|
@ -0,0 +1,37 @@
|
|||
% Application : maximal Microkernel footprint
|
||||
|
||||
% TASK NAME PRIO ENTRY STACK GROUPS
|
||||
% ==================================================
|
||||
TASK fgTask 10 fgTaskEntry 1024 [EXE]
|
||||
|
||||
% EVENT NAME ENTRY
|
||||
% ====================
|
||||
EVENT MYEVENT NULL
|
||||
|
||||
% MUTEX NAME
|
||||
% ==============
|
||||
MUTEX MY_MUTEX
|
||||
|
||||
% SEMA NAME
|
||||
% ===========
|
||||
SEMA MYSEMA
|
||||
|
||||
% FIFO NAME DEPTH WIDTH
|
||||
% ==========================
|
||||
FIFO MYFIFO 1 4
|
||||
|
||||
% PIPE NAME BUFFERSIZE
|
||||
% ===========================
|
||||
PIPE MYPIPE 0
|
||||
|
||||
% MAILBOX NAME
|
||||
% ==============
|
||||
MAILBOX MYMBOX
|
||||
|
||||
% MAP NAME BLOCKS BLOCKSIZE
|
||||
% ==============================
|
||||
MAP MYMAP 1 4
|
||||
|
||||
% POOL NAME MIN MAX NMAX
|
||||
% ==============================
|
||||
POOL MYPOOL 4 4 1
|
|
@ -15,5 +15,10 @@ tags = footprint
|
|||
extra_args = TEST=max
|
||||
build_only = true
|
||||
arch_whitelist = x86
|
||||
config_whitelist = !CONFIG_CPU_MINUTEIA
|
||||
|
||||
[footprint-float]
|
||||
tags = footprint
|
||||
extra_args = TEST=float
|
||||
build_only = true
|
||||
arch_whitelist = x86
|
||||
config_whitelist = !CONFIG_CPU_MINUTEIA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue