aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThara Gopinath <thara.gopinath@linaro.org>2021-12-07 13:42:42 -0500
committerThara Gopinath <thara.gopinath@linaro.org>2021-12-07 13:42:42 -0500
commit8cbcc8785b0b056b3a63d560c134839338c92683 (patch)
tree92019e9fdaef7548e27fe6fb95579ee8b09d6bfc
parent8b043f20c067543f06babfc7b84f06117c5d9110 (diff)
Adding README for the scripts
Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
-rw-r--r--README38
1 files changed, 38 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..d1d8161
--- /dev/null
+++ b/README
@@ -0,0 +1,38 @@
+
+
+dhrystone-performance-opp.sh
+
+ Usage: ./dhrystone-performance-opp.sh <workload_cpunum> <stat_collection_cpunum>
+
+ Description:
+ Run dhrystone at all supported frequencies on workload_cpunum. The
+ temperature info of the relevant thermal zone is captured by a
+ record-temp script running on stat_collection_cpunum
+
+record-temp.sh
+
+ Usage ./record-temp.sh <thermal_zone_id>
+
+ Description:
+ Unsophisticated script recording specified thermal zone
+ temperatures in 1 second interval and outputing a max and avg
+ temperatures when the script is terminated.
+
+ e.g
+ root@dragonboard-845c:~# ./record-temp.sh 0 1 & [1] 1306
+
+ root@dragonboard-845c:~# kill 1306
+ root@dragonboard-845c:~#
+ Thermal Zone 0: Max Temp: 41800 Avg Temp: 41350
+ Thermal Zone 1: Max Temp: 41000 Avg Temp: 40625
+ [1]+ Terminated ./record-temp.sh 0 1
+
+benchmarks.sh
+
+ Usage: ./benchmarks.sh
+
+ Description: Runs mbw, sysbench cpu and sysbench memory tests with
+ default cpufreq governor and performance cpufreq governor.
+
+Note: Only dhrystone binary is present in this repo. All other test
+binaries must be present in the filesystem.