Lines Matching +full:extra +full:- +full:wait +full:- +full:time
22 Zephyr application, eliminating the need for architecture-specific
56 You must have the 32-bit C library installed in your system
57 (in Ubuntu 16.04 install the gcc-multilib package)
67 for Linux (WSL1) because WSL1 does not support native 32-bit binaries.
72 <https://github.com/microsoft/WSL/issues/2468#issuecomment-374904520>`_ it
88 which runs at an infinitely fast clock: No time passes while the CPU is
102 - There can **not** be busy wait loops in the application code that wait for
104 If busy wait loops do exist, they will behave as infinite loops and
105 will stall the execution. For example, the following busy wait loop code,
109 .. code-block:: c
117 .. code-block:: c
123 - Code that depends on its own execution speed will normally not
127 .. code-block:: c
129 peripheral_x->run = true;
131 /* Wait for a number of CPU cycles */
137 - This port is not meant to, and could not possibly help debug races between
140 - You may not use hard coded memory addresses because there is no I/O or
147 If a busy wait loop exists, it will become evident as the application will be
152 The best solution is to remove that busy wait loop, and instead use
154 Note that busy wait loops are in general a bad coding practice as they
163 .. code-block:: c
198 - Allow functional debugging, instrumentation and analysis of the code with
200 - Allow functional regression testing, and simulations in which we have the
202 - Run tests fast: several minutes of simulated time per wall time second.
203 - Possibility to connect to external tools which may be able to run much
204 faster or much slower than real time.
205 - Deterministic, repeatable runs:
210 - Debugging or instrumenting the code.
211 - Pausing in a breakpoint and continuing later.
212 - The host computer performance or its load.
233 :figclass: align-center
236 dimensions: Having the real memory map or emulating the exact time an
245 Simulated time is normally decoupled from real host time.
247 by assuming that code executes in zero simulated time.
259 Execution is fully reproducible, you can pause it without side-effects.
292 accounts for the time each instruction takes.
293 Time is simulated and is fully decoupled from real time.
294 Simulations are on the order of 10 to 100 times slower than real time.
297 provide some extra tools for analyzing your code.
300 side-effects.
322 :figclass: align-center
330 :figclass: align-center
338 The result of this build is a pre-linked elf library, which contains what we can call the
364 It is worth noting that the embedded SW library is first pre-linked. That is that all symbols which
393 …tps://github.com/BabbleSim/native_simulator/blob/main/docs/Design.md#build-and-symbol-visibility>`_
408 single threaded CPU/MCU by only allowing one SW thread to execute at a time, as commanded by the
421 and typically as a 32-bit binary assuming pointer and integer types are 32-bits
442 interrupts, and the hooks for low level tracing and busy wait handling.
447 …tation <https://github.com/BabbleSim/native_simulator/blob/main/docs/Design.md#overall-execution>`_
468 `native simulator busy wait design documentation <https://github.com/BabbleSim/native_simulator/blo…
479 These allow registering (at build/link time) embedded context functions which will be called
483 after the simulated CPU goes to sleep for the first time,
487 …s <https://github.com/BabbleSim/native_simulator/blob/main/docs/Design.md#native-simulator-tasks>`_