checkmetrics: Add checkmetrics value for memory usage in qemu

This PR adds the checkmetrics value for memory usage in qemu.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-07-05 19:21:03 +00:00
parent 78086ed1fe
commit 5a61065ab7
3 changed files with 13 additions and 2 deletions

View File

@ -32,4 +32,3 @@ checktype = "mean"
midval = 2518364.00
minpercent = 15.0
maxpercent = 15.0

View File

@ -19,3 +19,16 @@ checktype = "mean"
midval = 0.61
minpercent = 15.0
maxpercent = 15.0
[[metric]]
name = "memory-footprint"
type = "json"
description = "measure memory usage"
# Min and Max values to set a 'range' that
# the median of the CSV Results data must fall
# within (inclusive)
checkvar = ".\"memory-footprint\".Results | .[] | .average.Result"
checktype = "mean"
midval = 2435844.00
minpercent = 15.0
maxpercent = 15.0

View File

@ -12,7 +12,6 @@
# This test uses smem tool to get the memory used.
set -e
set -x
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
source "${SCRIPT_PATH}/../lib/common.bash"