| commit | 4d66eedd10f08fdfca23ead8d9faf4d13880072f | [log] [tgz] |
|---|---|---|
| author | Ederson de Souza <ederson.desouza@intel.com> | Wed Aug 17 13:48:57 2022 -0700 |
| committer | Anas Nashif <anas.nashif@intel.com> | Mon Aug 29 16:09:50 2022 -0400 |
| tree | 9e1f36dc96d2c43aaecd8a9b16cbbdec63ba6fd5 | |
| parent | dcda3eab8df7e9b25cdf038232abcb0ddc174461 [diff] |
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: Ederson de Souza <ederson.desouza@intel.com>