Skip to content
Commit 4d66eedd authored by Ederson de Souza's avatar Ederson de Souza Committed by Anas Nashif
Browse files

arch/xtensa/core: Fix timing API issues



Two issues:
 - A unnecessary parentheses pair caused rounding errors (by truncating
   a small value before multiplying it).
 - arch_timing_cycles_to_ns_avg() wasn't actually converting the result
   to nanoseconds.

Signed-off-by: default avatarEderson de Souza <ederson.desouza@intel.com>
parent dcda3eab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment