Skip to content

Commit

Permalink
Timestamp must be on milliseconds
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Mar 21, 2022
1 parent 1c993d0 commit fd080fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/benchmark-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
}

1 comment on commit fd080fa

@mkarg75
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hehe, that's why I asked you :D

Please sign in to comment.