zephyr/samples/microkernel/benchmark/app_kernel/prj.mdef
Peter Mitsis 249d623210 Fix microkernel app_kernel benchmark
The event portion of the app_kernel benchmark no longer outputs the following
(abbreviated) error message:
   <path to project>/app_kernel/src/event_b.c:86 Error: tick occurred

This error was occurring as the benchmark test had hard-coded the value of
the event TEST_EVENT to 0 instead of defining it in the prj.mdef file.
Consequently, the system was using event 0 for the tick event; every time
task_event_send(TEST_EVENT) was invoked, the system treated it as a tick event.

Change-Id: I1a785a6594415bd4b0300d382f76a6d768641864
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:15:34 -05:00

50 lines
1.2 KiB
Plaintext

% Application : AppKernel benchmark
% Part common for all platforms
% TASK NAME PRIO ENTRY STACK GROUPS
% ===================================================
TASK RECVTASK 5 recvtask 1024 []
TASK BENCHTASK 6 BenchTask 2048 [EXE]
% FIFO NAME DEPTH WIDTH
% ==============================
FIFO DEMOQX1 500 1
FIFO DEMOQX4 500 4
FIFO MB_COMM 1 12
FIFO CH_COMM 1 12
% MAP NAME BLOCKS BLOCKSIZE
% ==================================
MAP MAP1 4 16
% SEMA NAME
% =========
SEMA SEM0
SEMA SEM1
SEMA SEM2
SEMA SEM3
SEMA SEM4
SEMA STARTRCV
% MAILBOX NAME
% ==============
MAILBOX MAILB1
% MUTEX NAME
% ================
MUTEX DEMO_MUTEX
% PIPE NAME DEPTH
% ===========================
PIPE PIPE_NOBUFF 0
PIPE PIPE_SMALLBUFF 256
PIPE PIPE_BIGBUFF 4096
% POOL NAME SIZE_SMALL SIZE_LARGE BLOCK_NUMBER
% ====================================================
POOL DEMOPOOL 16 16 1
% EVENT NAME ENTRY
% =========================
EVENT TEST_EVENT NULL