summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-04-06 16:59:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-08 08:05:20 +0100
commit57040305dea7e2167adb47c136a7b85f09ee7d24 (patch)
tree37de75328d6b6274da79c9993af2901987465e98 /scripts
parent0edd06d15d2501ed0961681b56ecbb4ca5e75647 (diff)
downloadopenembedded-core-57040305dea7e2167adb47c136a7b85f09ee7d24.tar.gz
openembedded-core-57040305dea7e2167adb47c136a7b85f09ee7d24.tar.bz2
openembedded-core-57040305dea7e2167adb47c136a7b85f09ee7d24.zip
build-perf-test: add eSDK installed size to metrics
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/contrib/build-perf-test.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/contrib/build-perf-test.sh b/scripts/contrib/build-perf-test.sh
index f1f44d3297..7d99228c73 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"