/Zephyr-latest/tests/benchmarks/sys_kernel/ |
D | README.txt | 16 average time for one iteration is displayed. 25 DETAILS: Average time for 1 iteration: NNNN nSec 36 DETAILS: Average time for 1 iteration: NNNN nSec 48 DETAILS: Average time for 1 iteration: NNNN nSec 58 DETAILS: Average time for 1 iteration: NNNN nSec 70 DETAILS: Average time for 1 iteration: NNNN nSec 82 DETAILS: Average time for 1 iteration: NNNN nSec 92 DETAILS: Average time for 1 iteration: NNNN nSec 104 DETAILS: Average time for 1 iteration: NNNN nSec 116 DETAILS: Average time for 1 iteration: NNNN nSec [all …]
|
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/ |
D | README.rst | 1 .. 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/subsys/testsuite/include/zephyr/ |
D | busy_sim.h | 20 * @param active_avg Average time of busy looping in the counter callback (in microseconds). 22 * @param active_delta Specifies deviation from average time of busy looping (in microseconds). 24 * @param idle_avg Average time of counter alarm timeout (in microseconds). 26 * @param idle_delta Specifies deviation from average time of counter alarm (in microseconds).
|
/Zephyr-latest/tests/benchmarks/thread_metric/src/ |
D | tm_preemptive_scheduling_test.c | 225 unsigned long average; in tm_preemptive_thread_report() local 250 /* Calculate the average of all the counters. */ in tm_preemptive_thread_report() 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() [all …]
|
D | tm_cooperative_scheduling_test.c | 193 unsigned long average; in tm_cooperative_thread_report() local 218 /* Calculate the average of all the counters. */ in tm_cooperative_thread_report() 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() [all …]
|
D | tm_interrupt_preemption_processing_test.c | 170 unsigned long average; in tm_interrupt_preemption_thread_report() local 196 /* Calculate the average of all the counters. */ in tm_interrupt_preemption_thread_report() 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()
|
D | tm_interrupt_processing_test.c | 160 unsigned long average; in tm_interrupt_thread_report() local 183 /* Calculate the average of all the counters. */ in tm_interrupt_thread_report() 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/tests/subsys/sip_svc/src/ |
D | main.c | 210 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/include/zephyr/drivers/sensor/ |
D | icm42670.h | 37 * In Low-Power Mode, the accelerometer ADC output is sent through an Average 38 * filter, with user configurable average filter setting. 39 * The output of 1st Order LPF in Low-Noise Mode, or Average filter in Low-Power
|
/Zephyr-latest/tests/lib/cmsis_dsp/common/ |
D | test_common.h | 282 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/dts/bindings/adc/ |
D | renesas,ra-adc.yaml | 32 average-count: 36 description: The conversion count of the average mode
|
D | nxp,lpc-lpadc.yaml | 37 calibration-average: 39 description: conversion average number for auto-calibration
|
/Zephyr-latest/samples/subsys/zbus/benchmark/ |
D | sample.yaml | 15 - "I: Average data rate: (\\d+).(\\d+)MB/s" 37 - "I: Average data rate: (\\d+).(\\d+)MB/s" 59 - "I: Average data rate: (\\d+).(\\d+)MB/s"
|
/Zephyr-latest/tests/benchmarks/sched_queues/ |
D | Kconfig | 13 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/ |
D | Kconfig | 13 before calculating the average times for reporting. 35 This option displays the average time of all the iterations done for
|
/Zephyr-latest/tests/drivers/disk/disk_performance/src/ |
D | main.c | 38 /* Number of sequential reads to get an average speed */ 85 /* Helper function to time multiple sequential reads. Returns average time. */ 112 /* Return average time */ in read_helper() 127 TC_PRINT("Average read speed over one sector: %"PRIu64" KiB/s\n", in ZTEST() 133 TC_PRINT("Average read speed over %d sectors: %"PRIu64" KiB/s\n", in ZTEST() 138 /* Helper function to time multiple sequential writes. Returns average time. */ 175 /* Return average time */ in write_helper() 190 TC_PRINT("Average write speed over one sector: %"PRIu64" KiB/s\n", in ZTEST() 196 TC_PRINT("Average write speed over %d sectors: %"PRIu64" KiB/s\n", in ZTEST()
|
/Zephyr-latest/tests/benchmarks/sched_queues/src/ |
D | main.c | 160 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/benchmarks/wait_queues/src/ |
D | main.c | 147 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/samples/sensor/bq274xx/ |
D | README.rst | 13 - Average current, in amps 22 - Average power in mW
|
/Zephyr-latest/tests/drivers/regulator/voltage/dts/bindings/ |
D | test-regulator-voltage.yaml | 38 Number of ADC readings to average. Defaults to 1 (no average).
|
/Zephyr-latest/tests/benchmarks/latency_measure/src/ |
D | heap_malloc_free.c | 68 "%-40s - Average time for heap malloc", in heap_malloc_free() 73 "%-40s - Average time for heap free", in heap_malloc_free()
|
/Zephyr-latest/tests/benchmarks/sys_kernel/src/ |
D | syskernel.c | 53 * @brief Checks number of tests and calculate average time 82 "Average time for 1 iteration: "); in check_result() 155 "average time for one iteration is displayed.", in main()
|
/Zephyr-latest/samples/modules/cmsis_dsp/moving_average/src/ |
D | main.c | 12 #define NUM_TAPS 10 /* Number of taps in the FIR filter (length of the moving average window) */ 16 * Filter coefficients are all equal for a moving average filter. Here, 1/NUM_TAPS = 0.1f.
|
/Zephyr-latest/tests/bluetooth/shell/boards/ |
D | native_sim.conf | 8 # than 1.5 ms in average.
|
/Zephyr-latest/drivers/sensor/sx9500/ |
D | sx9500.c | 36 0x30, /* Average threshold. */ 37 0x0f, /* Debouncer off, lowest average negative filter, 38 * highest average positive filter.
|