aboutsummaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-05-11 13:39:22 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-01 16:08:49 +0100
commitced156bfea4a6649d201f41275641a633f218322 (patch)
treea1774a910df078306e4dda3bf0c8b9928e43257e /meta/lib/oe
parent35cd7363759a286e80ddca0d028db3d2bf524b17 (diff)
downloadopenembedded-core-contrib-ced156bfea4a6649d201f41275641a633f218322.tar.gz
oeqa.buildperf: method for measuring system resource usage
Extend BuildPerfTest class with a new method for measuring the system resource usage of a shell command to BuildPerfTest class. For now, easurement of the elapsed time is done with the Gnu time utility, similarly to the build-perf-test.sh shell script. And, it currently only records the elapsed (wall clock). The measured values (currently, only the elapsed time) is actually a dictionary, making it possible to extend it with additional resource values, e.g. cpu time or i/o usage, in the future. In addition to the actual values of the measurement each record contains a 'name' and 'legend' where name is supposed to function as a common key or id over test runs, making comparison and trending easier, for example. Legend is supposed to be a short human readable description. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oe')
0 files changed, 0 insertions, 0 deletions