[OE-core] [PATCH] build-perf-test: add eSDK installed size to metrics
Ross Burton
ross.burton at intel.com
Wed Apr 6 15:59:03 UTC 2016
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/contrib/build-perf-test.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh
index f1f44d3..7d99228 100755
--- a/scripts/contrib/build-perf-test.sh
+++ b/scripts/contrib/build-perf-test.sh
@@ -369,6 +369,10 @@ test4 () {
do_sync
time_cmd "$esdk_installer" -y -d "tmp/esdk-deploy"
+
+ s=$((`du -sb "tmp/esdk-deploy" | cut -f1` / 1024))
+ SIZES[(( size_count++ ))]="$s"
+ log "Install SIZE of eSDK is: $s kB"
else
log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0."
SIZES[(( size_count++ ))]="0"
--
2.7.0
More information about the Openembedded-core
mailing list