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:
parent
50f5ca3c60
commit
f737af453d
|
@ -369,6 +369,10 @@ test4 () {
|
||||||
|
|
||||||
do_sync
|
do_sync
|
||||||
time_cmd "$esdk_installer" -y -d "tmp/esdk-deploy"
|
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
|
else
|
||||||
log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0."
|
log "ERROR: other than one sdk found (${esdk_installer[*]}), reporting size and time as 0."
|
||||||
SIZES[(( size_count++ ))]="0"
|
SIZES[(( size_count++ ))]="0"
|
||||||
|
|
Loading…
Reference in New Issue