mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-17 22:23:45 -04:00
Add tbench.sh trigger the tbench testing and monitor the cpu desire performance, frequency, load, power consumption and throughput etc. Signed-off-by: Meng Li <li.meng@amd.com> Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
19 lines
545 B
Makefile
19 lines
545 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Makefile for amd-pstate/ function selftests
|
|
|
|
# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
|
|
all:
|
|
|
|
uname_M := $(shell uname -m 2>/dev/null || echo not)
|
|
ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
|
|
|
|
ifeq (x86,$(ARCH))
|
|
TEST_GEN_FILES += ../../../power/x86/amd_pstate_tracer/amd_pstate_trace.py
|
|
TEST_GEN_FILES += ../../../power/x86/intel_pstate_tracer/intel_pstate_tracer.py
|
|
endif
|
|
|
|
TEST_PROGS := run.sh
|
|
TEST_FILES := basic.sh tbench.sh
|
|
|
|
include ../lib.mk
|