Skip to content
Commit 7a9cda91 authored by Jilay Pandya's avatar Jilay Pandya Committed by Carles Cufí
Browse files

samples: zbus: fix benchmark duration output



The benchmark duration is in nanoseconds, and it logs the duration to
the console in seconds. The conversion is wrong for scenarios where
the execution lasts less than 100 milliseconds. Fix that by adding
leading zeros while printing duration.

Signed-off-by: default avatarJilay Pandya <jilay.pandya@zeiss.com>
parent a658eeec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment