Home
last modified time | relevance | path

Searched refs:average (Results 1 – 25 of 49) sorted by relevance

12

/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_preemptive_scheduling_test.c225 unsigned long average; in tm_preemptive_thread_report() local
251 average = total / 5; in tm_preemptive_thread_report()
254 if ((tm_preemptive_thread_0_counter < (average - 1)) || in tm_preemptive_thread_report()
255 (tm_preemptive_thread_0_counter > (average + 1)) || in tm_preemptive_thread_report()
256 (tm_preemptive_thread_1_counter < (average - 1)) || in tm_preemptive_thread_report()
257 (tm_preemptive_thread_1_counter > (average + 1)) || in tm_preemptive_thread_report()
258 (tm_preemptive_thread_2_counter < (average - 1)) || in tm_preemptive_thread_report()
259 (tm_preemptive_thread_2_counter > (average + 1)) || in tm_preemptive_thread_report()
260 (tm_preemptive_thread_3_counter < (average - 1)) || in tm_preemptive_thread_report()
261 (tm_preemptive_thread_3_counter > (average + 1)) || in tm_preemptive_thread_report()
[all …]
Dtm_cooperative_scheduling_test.c193 unsigned long average; in tm_cooperative_thread_report() local
219 average = total / 5; in tm_cooperative_thread_report()
229 if ((tm_cooperative_thread_0_counter < (average - 1)) || in tm_cooperative_thread_report()
230 (tm_cooperative_thread_0_counter > (average + 1)) || in tm_cooperative_thread_report()
231 (tm_cooperative_thread_1_counter < (average - 1)) || in tm_cooperative_thread_report()
232 (tm_cooperative_thread_1_counter > (average + 1)) || in tm_cooperative_thread_report()
233 (tm_cooperative_thread_2_counter < (average - 1)) || in tm_cooperative_thread_report()
234 (tm_cooperative_thread_2_counter > (average + 1)) || in tm_cooperative_thread_report()
235 (tm_cooperative_thread_3_counter < (average - 1)) || in tm_cooperative_thread_report()
236 (tm_cooperative_thread_3_counter > (average + 1)) || in tm_cooperative_thread_report()
[all …]
Dtm_interrupt_preemption_processing_test.c170 unsigned long average; in tm_interrupt_preemption_thread_report() local
197 average = total / 3; in tm_interrupt_preemption_thread_report()
200 if ((tm_interrupt_preemption_thread_0_counter < (average - 1)) || in tm_interrupt_preemption_thread_report()
201 (tm_interrupt_preemption_thread_0_counter > (average + 1)) || in tm_interrupt_preemption_thread_report()
202 (tm_interrupt_preemption_thread_1_counter < (average - 1)) || in tm_interrupt_preemption_thread_report()
203 (tm_interrupt_preemption_thread_1_counter > (average + 1)) || in tm_interrupt_preemption_thread_report()
204 (tm_interrupt_preemption_handler_counter < (average - 1)) || in tm_interrupt_preemption_thread_report()
205 (tm_interrupt_preemption_handler_counter > (average + 1))) { in tm_interrupt_preemption_thread_report()
Dtm_interrupt_processing_test.c160 unsigned long average; in tm_interrupt_thread_report() local
184 average = total / 2; in tm_interrupt_thread_report()
187 if ((tm_interrupt_thread_0_counter < (average - 1)) || in tm_interrupt_thread_report()
188 (tm_interrupt_thread_0_counter > (average + 1)) || in tm_interrupt_thread_report()
189 (tm_interrupt_handler_counter < (average - 1)) || in tm_interrupt_thread_report()
190 (tm_interrupt_handler_counter > (average + 1))) { in tm_interrupt_thread_report()
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/
DREADME.rst1 .. zephyr:code-sample:: cmsis-dsp-moving-average
2 :name: CMSIS-DSP moving average
4 Use the CMSIS-DSP library to calculate the moving average of a signal.
9 This sample demonstrates how to use the CMSIS-DSP library to calculate the moving average of a
15 A **moving average** filter is a common method used for smoothing noisy data. It can be implemented
17 N is the number of "taps" (i.e. the size of the moving average window).
19 The sample uses a very simple input signal of 32 samples, and computes the moving average using a
26 compute the moving average.
51 computed average for each 10-sample long window of the input signal.
/Zephyr-latest/tests/subsys/sip_svc/src/
Dmain.c210 struct total_time average = {0}; in ZTEST() local
246 average.sync_time += t[i].sync_time; in ZTEST()
247 average.async_time += t[i].async_time; in ZTEST()
250 average.sync_time = average.sync_time / (CONFIG_ITERATIONS * CONFIG_PACKETS_PER_ITERATION * in ZTEST()
252 average.async_time = in ZTEST()
253 average.async_time / in ZTEST()
257 printk("Average SYNC transaction time is %lldus\n", average.sync_time); in ZTEST()
258 printk("Average ASYNC transaction time is %lldus\n", average.async_time); in ZTEST()
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c147 uint64_t average; in compute_and_report_stats() local
167 average = total / (num_threads * num_iterations); in compute_and_report_stats()
173 diff = (average > tmp) ? (average - tmp) : (tmp - average); in compute_and_report_stats()
194 sdescr_len, ", avg.", average, (uint32_t)timing_cycles_to_ns(average)); in compute_and_report_stats()
207 printk(" Average : %7llu cycles (%7u nsec)\n", average, in compute_and_report_stats()
208 (uint32_t)timing_cycles_to_ns(average)); in compute_and_report_stats()
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c160 uint64_t average; in compute_and_report_stats() local
180 average = total / (num_threads * num_iterations); in compute_and_report_stats()
184 diff = (average > tmp) ? (average - tmp) : (tmp - average); in compute_and_report_stats()
205 sdescr_len, ", avg.", average, (uint32_t)timing_cycles_to_ns(average)); in compute_and_report_stats()
218 printk(" Average : %7llu cycles (%7u nsec)\n", average, in compute_and_report_stats()
219 (uint32_t)timing_cycles_to_ns(average)); in compute_and_report_stats()
/Zephyr-latest/tests/lib/cmsis_dsp/common/
Dtest_common.h282 float64_t rel, delta, average; in test_rel_error_f64() local
286 average = (fabs(a[index]) + fabs(b[index])) / 2.0; in test_rel_error_f64()
288 if (average != 0) { in test_rel_error_f64()
289 rel = delta / average; in test_rel_error_f64()
305 float32_t rel, delta, average; in test_rel_error_f32() local
309 average = (fabsf(a[index]) + fabsf(b[index])) / 2.0f; in test_rel_error_f32()
311 if (average != 0) { in test_rel_error_f32()
312 rel = delta / average; in test_rel_error_f32()
329 float32_t rel, delta, average; in test_rel_error_f16() local
333 average = (fabsf((float)a[index]) + fabsf((float)b[index])) / 2.0f; in test_rel_error_f16()
[all …]
/Zephyr-latest/tests/benchmarks/sched_queues/
DKconfig13 before calculating the average times for reporting.
35 This option displays the average time of all the iterations done for
/Zephyr-latest/tests/benchmarks/wait_queues/
DKconfig13 before calculating the average times for reporting.
35 This option displays the average time of all the iterations done for
/Zephyr-latest/tests/benchmarks/sched_userspace/
DREADME.rst18 average time taken for a yield context switch.
/Zephyr-latest/drivers/sensor/nxp/nxp_kinetis_temp/
DKconfig36 Enable weighted average digital filtering of the ADC
/Zephyr-latest/tests/benchmarks/sched/
DREADME.rst21 average for all cycles run.
/Zephyr-latest/tests/benchmarks/app_kernel/
DREADME.txt35 | average lock and unlock mutex | NNNNNN|
37 | average alloc and dealloc memory page | NNNNNN|
42 | repeat for 128 times and take the average |
/Zephyr-latest/samples/subsys/usb/uac2_explicit_feedback/
DREADME.rst26 host, the device can tell host how many samples on average it needs every frame.
27 The host achieves the average by sending either nominal or nominal ±1 sample
/Zephyr-latest/samples/fuel_gauge/max17048/
DREADME.rst32 …and the time to full/empty are estimated and based on the last consumption average. That means that
/Zephyr-latest/doc/connectivity/networking/
Dnet_pkt_processing_stats.rst66 * In total it took on average **60** microseconds to get the network packet
82 * In total it took on average **39** microseconds to get the network packet
/Zephyr-latest/lib/hash/
DKconfig.hash_map13 lookup of key-value pairs must be done in O(1) time (on average).
/Zephyr-latest/modules/cmsis-nn/
DKconfig58 and average pooling.
/Zephyr-latest/boards/renesas/mck_ra8t1/
Dmck_ra8t1.dts184 average-count = <4>;
/Zephyr-latest/boards/st/st25dv_mb1283_disco/
Dst25dv_mb1283_disco.dts158 touch-average-control = <8>;
/Zephyr-latest/dts/arm/nxp/
Dnxp_mcxa156.dtsi310 calibration-average = <128>;
326 calibration-average = <128>;
/Zephyr-latest/tests/benchmarks/sys_kernel/
DREADME.txt16 average time for one iteration is displayed.
/Zephyr-latest/subsys/net/ip/
DKconfig.stats147 suspended, for how long the last time and on average.

12