|
| 1 | +menu "System Performance Testcase" |
| 2 | + |
| 3 | +config UTEST_SYS_PERF_TC |
| 4 | + bool "system performance test" |
| 5 | + default n |
| 6 | + |
| 7 | +choice |
| 8 | + prompt "Select time reference for System Performance Testcase" |
| 9 | + default USING_TICK_AS_TIME_REF |
| 10 | + depends on UTEST_SYS_PERF_TC |
| 11 | + |
| 12 | +config USING_HWTIME_AS_TIME_REF |
| 13 | + bool "Use hardware timer as time reference" |
| 14 | + depends on RT_USING_HWTIMER |
| 15 | + |
| 16 | +config USING_TICK_AS_TIME_REF |
| 17 | + bool "Use system tick as time reference" |
| 18 | + |
| 19 | +endchoice |
| 20 | + |
| 21 | +config UTEST_HWTIMER_DEV_NAME |
| 22 | + string "Hardware timer device name" |
| 23 | + default "timer0" |
| 24 | + depends on USING_HWTIME_AS_TIME_REF && UTEST_SYS_PERF_TC |
| 25 | + help |
| 26 | + Specify the hardware timer device name used for context switch testing (e.g., timer11). |
| 27 | + |
| 28 | +config UTEST_SYS_CONTEXT_SWITCH |
| 29 | + bool "system context switch test" |
| 30 | + default n |
| 31 | + depends on UTEST_SYS_PERF_TC |
| 32 | + |
| 33 | +config UTEST_SYS_IRQ_LATENCY |
| 34 | + bool "system IRQ LATENCY test" |
| 35 | + default n |
| 36 | + depends on RT_USING_HWTIMER && USING_HWTIME_AS_TIME_REF && UTEST_SYS_PERF_TC |
| 37 | + |
| 38 | +config UTEST_SYS_THREAD_SEM |
| 39 | + bool "system thread semaphore tests" |
| 40 | + default n |
| 41 | + depends on UTEST_SYS_PERF_TC |
| 42 | + |
| 43 | +config UTEST_SYS_THREAD_EVENT |
| 44 | + bool "system thread event tests" |
| 45 | + default n |
| 46 | + depends on UTEST_SYS_PERF_TC |
| 47 | + |
| 48 | +config UTEST_SYS_THREAD_MBOX |
| 49 | + bool "system thread mbox tests" |
| 50 | + default n |
| 51 | + depends on UTEST_SYS_PERF_TC |
| 52 | + |
| 53 | +config UTEST_SYS_THREAD_MQ |
| 54 | + bool "system thread messagequeue tests" |
| 55 | + default n |
| 56 | + depends on UTEST_SYS_PERF_TC |
| 57 | + |
| 58 | +endmenu |
0 commit comments