From fd080fa52efefc6cb25637d7c6fe54ce1aca9498 Mon Sep 17 00:00:00 2001 From: Raul Sevilla Date: Mon, 21 Mar 2022 14:00:02 +0100 Subject: [PATCH] Timestamp must be on milliseconds Signed-off-by: Raul Sevilla --- utils/benchmark-operator.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/benchmark-operator.sh b/utils/benchmark-operator.sh index 91af2691..8d095db6 100644 --- a/utils/benchmark-operator.sh +++ b/utils/benchmark-operator.sh @@ -52,7 +52,7 @@ remove_benchmark_operator() { ############################################################################ run_benchmark() { source ${ripsaw_tmp}/bin/activate - local start_date=$(date +%s) + local start_date=$(date +%s%3N) local rc=0 if ! ripsaw benchmark run -f ${1} -t ${2}; then rc=1 @@ -68,6 +68,6 @@ run_benchmark() { remove_cli fi local benchmark_name=$(cat ${1} | python -c 'import yaml; import sys; print(yaml.safe_load(sys.stdin.read())["metadata"]["name"])') - gen_metadata ${benchmark_name} ${start_date} $(date +%s) + gen_metadata ${benchmark_name} ${start_date} $(date +%s%3N) return ${rc} }