mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-19 11:38:46 +00:00
This commit added support for test-tlb, a memory latency micro-benchmark. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
34 lines
939 B
Text
34 lines
939 B
Text
#
|
|
# Copyright (C) 2024 Xiaomi Corporation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
config BENCHMARK_TESTTLB
|
|
tristate "Memory Latency profiling"
|
|
depends on ALLOW_GPL_COMPONENTS
|
|
default n
|
|
---help---
|
|
Measure the memory latency
|
|
|
|
if BENCHMARK_TESTTLB
|
|
|
|
config BENCHMARK_TESTTLB_PRIORITY
|
|
int "TestTLB task priority"
|
|
default 100
|
|
|
|
config BENCHMARK_TESTTLB_STACKSIZE
|
|
int "TestTLB stack size"
|
|
default DEFAULT_TASK_STACKSIZE
|
|
|
|
endif
|