]> code.ossystems Code Review - openembedded-core.git/commitdiff
build-perf-test: add eSDK installed size to metrics
authorRoss Burton <ross.burton@intel.com>
Wed, 6 Apr 2016 15:59:03 +0000 (16:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 8 Apr 2016 07:05:20 +0000 (08:05 +0100)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/build-perf-test.sh

index f1f44d32970c1f24c765e8293bdf1d0f61b02f66..7d99228c739bdfa33518b26b53db728d4bf88bed 100755 (executable)
@@ -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"