source: perf/hrp2/perf/perf.cfg@ 19

Last change on this file since 19 was 19, checked in by ertl-honda, 10 years ago

HRP2用の性能評価プログラムの追加.

File size: 2.0 KB
Line 
1/*
2 * @(#) $Id: sample1.cfg 718 2008-01-01 12:30:48Z hiro $
3 */
4
5#include "perf.h"
6KERNEL_DOMAIN {
7 CRE_TSK(TASK1, { TA_ACT, 1, perf_boot_time_task, 1, STACK_SIZE, NULL });
8 ATT_INI({ TA_NULL, 0, perf_boot_time_inithdr });
9
10
11 CRE_TSK(TASK_ACT_TSK_NODSP_LOW, { TA_NULL, 1, task_act_tsk_nodsp_low, LOW_PRIORITY, STACK_SIZE, NULL });
12 CRE_TSK(TASK_ACT_TSK_NODSP_HIGH, { TA_NULL, 1, task_act_tsk_nodsp_high, MID_PRIORITY, STACK_SIZE, NULL });
13
14 CRE_TSK(TASK_ACT_TSK_DSP_LOW, { TA_NULL, 1, task_act_tsk_dsp_low, LOW_PRIORITY, STACK_SIZE, NULL });
15 CRE_TSK(TASK_ACT_TSK_DSP_HIGH, { TA_NULL, 1, task_act_tsk_dsp_high, MID_PRIORITY, STACK_SIZE, NULL });
16
17 CRE_TSK(MAIN_TASK, { TA_ACT, 0, main_task, MAIN_PRIORITY, STACK_SIZE, NULL });
18
19 SAC_SYS({ TACP_KERNEL|TACP(DOM1), TACP_KERNEL|TACP(DOM1), TACP_KERNEL|TACP(DOM1), TACP_SHARED });
20 SAC_TSK(MAIN_TASK, { TACP_KERNEL|TACP(DOM1)|TACP(DOM2), TACP_KERNEL|TACP(DOM1), TACP_KERNEL|TACP(DOM1), TACP_KERNEL|TACP(DOM1) });
21}
22
23DOMAIN(DOM1) {
24 CRE_TSK(TASK_ACT_TSK_NODSP_LOW_DOM1, { TA_NULL, 1, task_act_tsk_nodsp_low_dom1, LOW_PRIORITY, STACK_SIZE, NULL });
25 CRE_TSK(TASK_ACT_TSK_NODSP_HIGH_DOM1, { TA_NULL, 1, task_act_tsk_nodsp_high_dom1, MID_PRIORITY, STACK_SIZE, NULL });
26
27 CRE_TSK(TASK_ACT_TSK_DSP_LOW_DOM1, { TA_NULL, 1, task_act_tsk_dsp_low_dom1, LOW_PRIORITY, STACK_SIZE, NULL });
28 CRE_TSK(TASK_ACT_TSK_DSP_HIGH_DOM1, { TA_NULL, 1, task_act_tsk_dsp_high_dom1, MID_PRIORITY, STACK_SIZE, NULL });
29
30 SAC_TSK(TASK_ACT_TSK_DSP_HIGH_DOM1, { TACP(DOM1)|TACP(DOM2), TACP(DOM1)|TACP(DOM2), TACP(DOM1), TACP(DOM1) });
31}
32
33DOMAIN(DOM2) {
34 CRE_TSK(TASK_ACT_TSK_DSP_LOW_DOM2, { TA_NULL, 1, task_act_tsk_dsp_low_dom2, LOW_PRIORITY, STACK_SIZE, NULL });
35}
36
37INCLUDE("target_mem.cfg");
38KERNEL_DOMAIN {
39 INCLUDE("target_timer.cfg");
40 INCLUDE("syssvc/syslog.cfg");
41// INCLUDE("syssvc/banner.cfg");
42 INCLUDE("syssvc/serial.cfg");
43// INCLUDE("syssvc/logtask.cfg");
44}
45
46ATT_MOD("perf.o");
47ATT_MOD("histogram.o");
48ATT_MOD("test_lib.o");
49ATT_MOD("log_output.o");
50ATT_MOD("vasyslog.o");
51ATT_MOD("t_perror.o");
52ATT_MOD("strerror.o");
Note: See TracBrowser for help on using the repository browser.