summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f30e55)
raw | patch | inline | side by side (parent: 8f30e55)
author | Carlos Hernandez <ceh@ti.com> | |
Mon, 3 Feb 2014 20:01:55 +0000 (15:01 -0500) | ||
committer | Carlos Hernandez <ceh@ti.com> | |
Mon, 3 Feb 2014 20:01:55 +0000 (15:01 -0500) |
Signed-off-by: Carlos Hernandez <ceh@ti.com>
testcases/ddt/scripts/powermgr/powermgr_dynticks.sh | patch | blob | history |
diff --git a/testcases/ddt/scripts/powermgr/powermgr_dynticks.sh b/testcases/ddt/scripts/powermgr/powermgr_dynticks.sh
index d59dc85612d3b165d38d95e15c3c0b088b02ca80..5cef59eede2cabc9ab32f8d331c6ec442498ce6a 100755 (executable)
EXP=`zcat /proc/config.gz | grep 'CONFIG_HZ=' | awk -F '[:=]' '{print $2}'`
echo $EXP
EXP=`echo "($EXP * 10)" | bc` # Calculating expected ticks in 10 seconds
-EXPPER=`echo "($EXP / 10)" | bc` #Calculating 10% of expected increase
+EXPPER=`echo "($EXP / 2)" | bc` #Calculating 50% of expected increase
ACTPER=$(($VAR10-$VAR))
echo "The difference is $ACTPER"