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>
This commit is contained in:
Ross Burton 2016-04-06 16:59:03 +01:00 committed by Richard Purdie
parent 50f5ca3c60
commit f737af453d
1 changed files with 4 additions and 0 deletions

View File

@ -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"