summaryrefslogtreecommitdiffstats
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-09 23:00:45 +0100
commitf737af453d20d98c3e16bb286d92c2b6a317c6c2 (patch)
treee3033e481815189cc2b18d28df62aa8f7ca1d006
parent50f5ca3c607c3e60bf6d3a431b24d46023310ddb (diff)
downloadpoky-f737af453d20d98c3e16bb286d92c2b6a317c6c2.tar.gz
build-perf-test: add eSDK installed size to metrics
(From OE-Core rev: 57040305dea7e2167adb47c136a7b85f09ee7d24) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 () {
369 369
370 do_sync 370 do_sync
371 time_cmd "$esdk_installer" -y -d "tmp/esdk-deploy" 371 time_cmd "$esdk_installer" -y -d "tmp/esdk-deploy"
372
373 s=$((`du -sb "tmp/esdk-deploy" | cut -f1` / 1024))
374 SIZES[(( size_count++ ))]="$s"
375 log "Install SIZE of eSDK is: $s kB"
372 else 376 else
373 log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0." 377 log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0."
374 SIZES[(( size_count++ ))]="0" 378 SIZES[(( size_count++ ))]="0"