* [PATCH] build-perf-test: add eSDK installed size to metrics
@ 2016-04-06 15:59 Ross Burton
0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2016-04-06 15:59 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Ross Burton <ross.burton@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-06 15:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 15:59 [PATCH] build-perf-test: add eSDK installed size to metrics Ross Burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.