Home
last modified time | relevance | path

Searched full:loops (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-latest/tests/benchmarks/sys_kernel/src/
Dmem_slab.c28 * @param no_of_loops Amount of loops to run.
31 * @return NUmber of done loops.
53 * @param no_of_loops Amount of loops to run.
56 * @return NUmber of done loops.
/Zephyr-latest/tests/drivers/uart/uart_mix_fifo_poll/
DKconfig5 int "Number of loops in the stress test"
11 For how many loops will the stress test run. The higher this number the longer the
/Zephyr-latest/tests/kernel/sleep/src/
Dusleep.c53 #define LOOPS (CONFIG_SYS_CLOCK_TICKS_PER_SEC / 2) macro
60 #define LOWER_BOUND_MS ((1000 * LOOPS) / CONFIG_SYS_CLOCK_TICKS_PER_SEC)
61 #define UPPER_BOUND_MS (((3 + MAXIMUM_SHORTEST_TICKS) * 1000 * LOOPS) \
77 for (i = 0; i < LOOPS; ++i) { in ZTEST_USER()
/Zephyr-latest/drivers/flash/
Dflash_shell.c357 static void speed_output(const struct shell *sh, uint64_t total_time, double loops, double size) in speed_output() argument
359 double time_per_loop = (double)total_time / loops; in speed_output()
387 uint32_t loops = 0; in cmd_read_test() local
409 ++loops; in cmd_read_test()
411 shell_print(sh, "Loop #%u done in %llums.", loops, loop_time); in cmd_read_test()
415 speed_output(sh, total_time, (double)loops, (double)size); in cmd_read_test()
431 uint32_t loops = 0; in cmd_write_test() local
457 ++loops; in cmd_write_test()
459 shell_print(sh, "Loop #%u done in %llu ticks.", loops, loop_time); in cmd_write_test()
463 speed_output(sh, total_time, (double)loops, (double)size); in cmd_write_test()
[all …]
/Zephyr-latest/kernel/
Dbusy_wait.c40 unsigned int loops = loops_per_usec * usec_to_wait; in z_impl_k_busy_wait() local
42 while (loops-- > 0) { in z_impl_k_busy_wait()
/Zephyr-latest/tests/kernel/fifo/fifo_api/src/
Dtest_fifo_loop.c11 #define LOOPS 32 macro
93 * -# loop above steps for LOOPs times
102 for (int i = 0; i < LOOPS; i++) { in ZTEST()
/Zephyr-latest/tests/kernel/lifo/lifo_api/src/
Dtest_lifo_loop.c11 #define LOOPS 32 macro
93 * -# loop above steps for LOOPs times
102 for (int i = 0; i < LOOPS; i++) { in ZTEST()
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/src/
Dext_flash.c42 * 3 cycles per loop: 8 loops @ 48 Mhz = 0.5 us. in CC1352R1_LAUNCHXL_sendExtFlashByte()
52 * 3 cycles per loop: 700 loops @ 48 Mhz ~= 44 us in CC1352R1_LAUNCHXL_sendExtFlashByte()
72 /* 3 cycles per loop: 560 loops @ 48 Mhz ~= 35 us */ in CC1352R1_LAUNCHXL_wakeUpExtFlash()
/Zephyr-latest/tests/posix/semaphores/
DKconfig5 int "Number of loops in semaphore test"
/Zephyr-latest/arch/xtensa/include/
Dxtensa_asm2_context.h38 * SP-48 Saved LBEG special register (if loops enabled)
39 * SP-52 Saved LEND special register (if loops enabled)
40 * SP-56 Saved LCOUNT special register (if loops enabled)
162 * easier to construct general purpose code in loops.
/Zephyr-latest/subsys/net/l2/ppp/
DKconfig37 int "Maximum number of NACK loops accepted"
41 How many times to accept NACK loops.
/Zephyr-latest/samples/kernel/metairq_dispatch/
Dsample.yaml19 # "busy" loops in order for the interrupts to fire on time, and the
/Zephyr-latest/subsys/fs/
Dshell.c529 static void speed_output(const struct shell *sh, uint64_t total_time, double loops, double size) in speed_output() argument
531 double time_per_loop = (double)total_time / loops; in speed_output()
560 uint32_t loops = 0; in cmd_read_test() local
592 while (loops < repeat) { in cmd_read_test()
630 ++loops; in cmd_read_test()
633 shell_print(sh, "Loop #%u done in %llums.", loops, loop_time); in cmd_read_test()
636 speed_output(sh, total_time, (double)loops, (double)size); in cmd_read_test()
653 uint32_t loops = 0; in cmd_erase_write_test() local
681 while (loops < repeat) { in cmd_erase_write_test()
738 ++loops; in cmd_erase_write_test()
[all …]
/Zephyr-latest/tests/posix/common/
DKconfig28 int "Number of loops in semaphore test"
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dgrutils.py71 # closed set under edge transition. In essence, the loops.
94 # no loops, so all SCCs should be singletons. That may
134 code generation, since it detects loops.
/Zephyr-latest/tests/subsys/testsuite/fff_fake_contexts/include/zephyr/
Dcode_under_test.h19 * This routine loops twice on opening/closing a called_API session.
/Zephyr-latest/subsys/net/lib/shell/
Dppp.c83 PR("LCP NACK loops : %u\n", ctx->lcp.fsm.nack_loops); in cmd_net_ppp_status()
93 PR("IPCP NACK loops : %u\n", ctx->ipcp.fsm.nack_loops); in cmd_net_ppp_status()
104 PR("IPv6CP NACK loops : %u\n", ctx->ipv6cp.fsm.nack_loops); in cmd_net_ppp_status()
115 PR("PAP NACK loops : %u\n", ctx->pap.fsm.nack_loops); in cmd_net_ppp_status()
/Zephyr-latest/tests/boards/intel_adsp/smoke/src/
Dtests.h10 /* Helper to escape from infinite polling loops with a test failure
/Zephyr-latest/tests/kernel/queue/src/
Dtest_queue_loop.c11 #define LOOPS 32 macro
113 for (int i = 0; i < LOOPS; i++) { in ZTEST()
/Zephyr-latest/include/zephyr/sys/
Derrno_private.h17 /* NOTE: located here to avoid include dependency loops between errno.h
/Zephyr-latest/samples/modules/tflite-micro/hello_world/src/
Dmain.c19 /* Increase number of loops to see full period of the sine curve */
/Zephyr-latest/samples/drivers/spi_bitbang/
DREADME.rst14 This sample loops through some different spi transfer configurations.
/Zephyr-latest/lib/libc/minimal/source/math/
Dsqrt.c13 #define MAX_D_ITTERATIONS 8 /* usually converges in 5 loops */
Dsqrtf.c13 #define MAX_F_ITTERATIONS 6 /* usually converges in 4 loops */
/Zephyr-latest/samples/basic/rgb_led/
DREADME.rst17 brightness. Three **for** loops (one for each component LED) generate a gradual

123