zephyr/tests/lib
Kumar Gala a1195ae39b smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS
Change for loops of the form:

for (i = 0; i < CONFIG_MP_NUM_CPUS; i++)
   ...

to

unsigned int num_cpus = arch_num_cpus();
for (i = 0; i < num_cpus; i++)
   ...

We do the call outside of the for loop so that it only happens once,
rather than on every iteration.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-21 13:14:58 +02:00
..
c_lib ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
cbprintf_fp
cbprintf_package trivial: Remove empty files 2022-09-30 09:41:55 +00:00
cmsis_dsp tests: cmsis_dsp: MVE correlate out-of-bounds access workaround 2022-10-20 22:12:42 +09:00
cmsis_nn
devicetree tests: devicetree: device: Add bl5340 and bt610 exclusions 2022-10-19 10:46:53 +02:00
fdtable ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
gui/lvgl
heap
heap_align tests: lib: add a tag to uniquely identify mem_blocks test 2022-09-26 08:11:13 +00:00
json
mem_alloc tests: Remove explicit newlib nano override 2022-10-19 16:02:51 +02:00
mem_blocks tests: mem_blocks: remove board configs using dma logging 2022-09-26 10:53:43 +00:00
mem_blocks_stats tests: lib: add a tag to uniquely identify mem_blocks test 2022-09-26 08:11:13 +00:00
mpsc_pbuf ztest: improve some tests 2022-09-09 07:05:38 -04:00
newlib tests: Remove explicit newlib nano override 2022-10-19 16:02:51 +02:00
notify lib: notify: build sys-notify conditionally. 2022-10-03 10:18:15 +02:00
onoff lib: onoff: add a config for on-off and build conditionally 2022-10-03 10:18:15 +02:00
p4workq smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
ringbuffer tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smf
sprintf
spsc_pbuf ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
sys_util
time
uoscore