mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 05:09:03 +00:00
add cmake support after enable TESTING_RESMONITOR, use showinfo -i 2 can show cpuload to syslog every two seconds. Signed-off-by: buxiasen <buxiasen@xiaomi.com>
27 lines
578 B
Text
27 lines
578 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config TESTING_RESMONITOR
|
|
bool "enable resource monitor [showinfo]"
|
|
default n
|
|
---help---
|
|
Enable resource show with specific duration.
|
|
Should not use with LOW_RESOURCE_TEST at the same time.
|
|
|
|
if TESTING_RESMONITOR
|
|
|
|
config TESTING_RESMONITOR_PRIORITY
|
|
int "Task priority"
|
|
default 100
|
|
|
|
config TESTING_RESMONITOR_STACKSIZE
|
|
int "Stack size"
|
|
default 4096
|
|
|
|
config TESTING_RESMONITOR_FILL
|
|
bool "[filldisk/fillcpu/fillmem]"
|
|
default n
|
|
|
|
endif
|