Skip to content

mimxrt1060_evk tests/benchmarks/latency_measure failed #14293

@hakehuang

Description

@hakehuang

Describe the bug
Error: tick occurred during context switch benchmark testing

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=mimxrt1060_evk ..
  3. make
  4. See error

Expected behavior
all pass

Impact
benchmark

Screenshots or console output

***** Booting Zephyr OS 1.14.0-rc1 *****

|-----------------------------------------------------------------------------|

|                            Latency Benchmark                                |

|-----------------------------------------------------------------------------|

|  tcs = timer clock cycles: 1 tcs is 1 nsec                                  |

|-----------------------------------------------------------------------------|

| 1 - Measure time to switch from ISR back to interrupted thread              |

| switching time is 5569 tcs = 9281 nsec                                      |

|-----------------------------------------------------------------------------|

| 2 - Measure time from ISR to executing a different thread (rescheduled)     |

| switch time is 7266 tcs = 12110 nsec                                        |

|-----------------------------------------------------------------------------|

| 3 - Measure average time to signal a sema then test that sema               |

| Average semaphore signal time 2432 tcs = 4053 nsec                          |

| Average semaphore test time 175 tcs = 291 nsec                              |

|-----------------------------------------------------------------------------|

| 4- Measure average time to lock a mutex then unlock that mutex              |

| Average time to lock the mutex 590559 tcs = 984265 nsec                     |

| Average time to unlock the mutex 2916 tcs = 4860 nsec                       |

|-----------------------------------------------------------------------------|

| 5 - Measure average context switch time between threads using (k_yield)     |

| Average thread context switch using yield 4423 tcs = 7372 nsec              |

|-----------------------------------------------------------------------------|

| 6 - Measure average context switch time between threads (coop)              |

| Error: tick occurred                                                        |

|-----------------------------------------------------------------------------|

Environment (please complete the following information):

  • OS: ( Linux)
  • Toolchain ( Zephyr SDK)
  • Commit SHA or Version used: v1.14.0_rc1

Metadata

Metadata

Labels

area: Test FrameworkIssues related not to a particular test, but to the framework insteadarea: TestsIssues related to a particular existing or missing testbugThe issue is a bug, or the PR is fixing a bugplatform: NXPNXPpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions