Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tools/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ source "$PKGS_DIR/packages/tools/RT_Trace/Kconfig"
source "$PKGS_DIR/packages/tools/zdebug/Kconfig"
source "$PKGS_DIR/packages/tools/RVBacktrace/Kconfig"
source "$PKGS_DIR/packages/tools/hpatchlite-wrapper/Kconfig"
source "$PKGS_DIR/packages/tools/thread-metric/Kconfig"
endmenu
31 changes: 31 additions & 0 deletions tools/thread-metric/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

# Kconfig file for package thread-metric
menuconfig PKG_USING_THREAD_METRIC
bool "Thread metrics adapted to RT-Thread."
default n

if PKG_USING_THREAD_METRIC

config PKG_THREAD_METRIC_PATH
string
default "/packages/tools/thread-metric"

choice
prompt "Version"
help
Select the package version

config PKG_USING_THREAD_METRIC_V100
bool "v1.0.0"

config PKG_USING_THREAD_METRIC_LATEST_VERSION
bool "latest"
endchoice

config PKG_THREAD_METRIC_VER
string
default "v1.0.0" if PKG_USING_THREAD_METRIC_V100
default "latest" if PKG_USING_THREAD_METRIC_LATEST_VERSION

endif

33 changes: 33 additions & 0 deletions tools/thread-metric/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "thread-metric",
"description": "Thread metric adapted to RT-Thread.",
"description_zh": "RT-Thread适配的Thread metric组件,用于OS性能测试与辅助优化。",
"enable": "PKG_USING_THREAD_METRIC",
"keywords": [
"thread-metric"
],
"category": "tools",
"author": {
"name": "Yaochenger",
"email": "[email protected]",
"github": "Yaochenger"
},
"license": "MIT",
"repository": "https://github.com/Yaochenger/Thread-Metric",
"icon": "unknown",
"homepage": "https://github.com/Yaochenger/Thread-Metric#readme",
"doc": "unknown",
"site": [
{
"version": "v1.0.0",
"URL": "https://github.com/Yaochenger/Thread-Metric/archive/refs/tags/1.0.0.zip",
"filename": "thread-metric-1.0.0.zip"
},
{
"version": "latest",
"URL": "https://github.com/Yaochenger/Thread-Metric.git",
"filename": "",
"VER_SHA": "master"
}
]
}
Loading