Skip to content

tests/benchmarks/latency_measure fails on sam_e70_xplained #10707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nniranjhana opened this issue Oct 19, 2018 · 1 comment
Closed

tests/benchmarks/latency_measure fails on sam_e70_xplained #10707

nniranjhana opened this issue Oct 19, 2018 · 1 comment
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@nniranjhana
Copy link

The latency_measure benchmark test fails on sam_e70_xplained with an "Error: tick occurred" when measuring average context switch time between cooperative threads.

Arch: ARM
Platform: sam_e70_xplained

Error log on console:

***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS zephyr-v1.13.0-1180-g5776ea8869 (delayed boot 1000ms) *****
|-----------------------------------------------------------------------------|
|                            Latency Benchmark                                |
|-----------------------------------------------------------------------------|
|  tcs = timer clock cycles: 1 tcs is 3 nsec                                  |
|-----------------------------------------------------------------------------|
| 1 - Measure time to switch from ISR back to interrupted thread              |
| switching time is 1048 tcs = 3493 nsec                                      |
|-----------------------------------------------------------------------------|
| 2 - Measure time from ISR to executing a different thread (rescheduled)     |
| switch time is 2100 tcs = 7000 nsec                                         |
|-----------------------------------------------------------------------------|
| 3 - Measure average time to signal a sema then test that sema               |
| Average semaphore signal time 598 tcs = 1994 nsec                           |
| Average semaphore test time 188 tcs = 627 nsec                              |
|-----------------------------------------------------------------------------|
| 4- Measure average time to lock a mutex then unlock that mutex              |
| Average time to lock the mutex 706 tcs = 2355 nsec                          |
| Average time to unlock the mutex 611 tcs = 2036 nsec                        |
|-----------------------------------------------------------------------------|
| 5 - Measure average context switch time between threads using (k_yield)     |
| Average thread context switch using yield 1645 tcs = 5483 nsec              |
|-----------------------------------------------------------------------------|
| 6 - Measure average context switch time between threads (coop)              |
| Error: tick occurred                                                        |
|-----------------------------------------------------------------------------|
===================================================================

PROJECT EXECUTION FAILED

@nashif nashif added the bug The issue is a bug, or the PR is fixing a bug label Nov 2, 2018
@galak galak added the priority: low Low impact/importance bug label Nov 20, 2018
@nashif
Copy link
Member

nashif commented Jan 30, 2019

cant reproduce.

@nashif nashif closed this as completed Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants