Skip to content
Commit 47670d1b authored by Peng Chen's avatar Peng Chen Committed by Anas Nashif
Browse files

tests: benchmarks: latency_measure: fix potential div by zero



If the count is zero in the heap_malloc_free test, a div by zero
would happen, so add a condition to handle this potential error.

Signed-off-by: default avatarChen Peng1 <peng1.chen@intel.com>
parent d39410a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment