mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-07 00:59:06 +00:00
kselftest: amd-pstate: Fix spelling mistakes
Fix spelling mistakes in run.sh "drvier" => "driver" and in gitsource.sh "senconds" => "seconds". Signed-off-by: Sukrut Bellary <sukrut.bellary@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
fe15c26ee2
commit
e1e17d7deb
2 changed files with 4 additions and 4 deletions
|
@ -117,7 +117,7 @@ parse_gitsource()
|
||||||
printf "Gitsource-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_GIT.result
|
printf "Gitsource-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_GIT.result
|
||||||
|
|
||||||
# Permance is the number of run gitsource per second, denoted 1/t, where 1 is the number of run gitsource in t
|
# Permance is the number of run gitsource per second, denoted 1/t, where 1 is the number of run gitsource in t
|
||||||
# senconds. It is well known that P=E/t, where P is power measured in watts(W), E is energy measured in joules(J),
|
# seconds. It is well known that P=E/t, where P is power measured in watts(W), E is energy measured in joules(J),
|
||||||
# and t is time measured in seconds(s). This means that performance per watt becomes
|
# and t is time measured in seconds(s). This means that performance per watt becomes
|
||||||
# 1/t 1/t 1
|
# 1/t 1/t 1
|
||||||
# ----- = ----- = ---
|
# ----- = ----- = ---
|
||||||
|
@ -175,7 +175,7 @@ gather_gitsource()
|
||||||
printf "Gitsource-$1 avg power consumption(J): $avg_en\n" | tee -a $OUTFILE_GIT.result
|
printf "Gitsource-$1 avg power consumption(J): $avg_en\n" | tee -a $OUTFILE_GIT.result
|
||||||
|
|
||||||
# Permance is the number of run gitsource per second, denoted 1/t, where 1 is the number of run gitsource in t
|
# Permance is the number of run gitsource per second, denoted 1/t, where 1 is the number of run gitsource in t
|
||||||
# senconds. It is well known that P=E/t, where P is power measured in watts(W), E is energy measured in joules(J),
|
# seconds. It is well known that P=E/t, where P is power measured in watts(W), E is energy measured in joules(J),
|
||||||
# and t is time measured in seconds(s). This means that performance per watt becomes
|
# and t is time measured in seconds(s). This means that performance per watt becomes
|
||||||
# 1/t 1/t 1
|
# 1/t 1/t 1
|
||||||
# ----- = ----- = ---
|
# ----- = ----- = ---
|
||||||
|
|
|
@ -244,7 +244,7 @@ prerequisite()
|
||||||
if [ "$scaling_driver" != "$CURRENT_TEST" ]; then
|
if [ "$scaling_driver" != "$CURRENT_TEST" ]; then
|
||||||
echo "$0 # Skipped: Test can only run on $CURRENT_TEST driver or run comparative test."
|
echo "$0 # Skipped: Test can only run on $CURRENT_TEST driver or run comparative test."
|
||||||
echo "$0 # Please set X86_AMD_PSTATE enabled or run comparative test."
|
echo "$0 # Please set X86_AMD_PSTATE enabled or run comparative test."
|
||||||
echo "$0 # Current cpufreq scaling drvier is $scaling_driver."
|
echo "$0 # Current cpufreq scaling driver is $scaling_driver."
|
||||||
exit $ksft_skip
|
exit $ksft_skip
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
@ -252,7 +252,7 @@ prerequisite()
|
||||||
"tbench" | "gitsource")
|
"tbench" | "gitsource")
|
||||||
if [ "$scaling_driver" != "$COMPARATIVE_TEST" ]; then
|
if [ "$scaling_driver" != "$COMPARATIVE_TEST" ]; then
|
||||||
echo "$0 # Skipped: Comparison test can only run on $COMPARISON_TEST driver."
|
echo "$0 # Skipped: Comparison test can only run on $COMPARISON_TEST driver."
|
||||||
echo "$0 # Current cpufreq scaling drvier is $scaling_driver."
|
echo "$0 # Current cpufreq scaling driver is $scaling_driver."
|
||||||
exit $ksft_skip
|
exit $ksft_skip
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue