Home
last modified time | relevance | path

Searched refs:sum (Results 26 – 50 of 51) sorted by relevance

123

/Zephyr-latest/subsys/net/ip/
Dnet_stats.h422 UPDATE_STAT(iface, stats.tx_time.sum += in net_stats_update_tx_time()
438 stats.tx_time_detail[i].sum += in net_stats_update_tx_time_detail()
455 UPDATE_STAT(iface, stats.rx_time.sum += in net_stats_update_rx_time()
471 stats.rx_time_detail[i].sum += in net_stats_update_rx_time_detail()
510 UPDATE_STAT(iface, stats.tc.sent[tc].tx_time.sum += in net_stats_update_tc_tx_time()
530 stats.tc.sent[tc].tx_time_detail[i].sum += in net_stats_update_tc_tx_time_detail()
552 UPDATE_STAT(iface, stats.tc.recv[tc].rx_time.sum += in net_stats_update_tc_rx_time()
572 stats.tc.recv[tc].rx_time_detail[i].sum += in net_stats_update_tc_rx_time_detail()
Dnet_stats.c549 (double)tx_time->sum, in net_stats_prometheus_scrape()
559 (double)rx_time->sum, in net_stats_prometheus_scrape()
/Zephyr-latest/subsys/net/lib/shell/
Dstats.c180 tc.sent[i].tx_time_detail[j].sum) / in get_net_pkt_tc_stats_detail()
186 tc.recv[i].rx_time_detail[j].sum) / in get_net_pkt_tc_stats_detail()
242 tx_time_detail[j].sum) / in get_net_pkt_stats_detail()
248 rx_time_detail[j].sum) / in get_net_pkt_stats_detail()
330 tc.sent[i].tx_time.sum) / in print_tc_tx_stats()
354 (uint32_t)(GET_STAT(iface, tx_time.sum) / (uint64_t)count), in print_tc_tx_stats()
389 tc.recv[i].rx_time.sum) / in print_tc_rx_stats()
413 (uint32_t)(GET_STAT(iface, rx_time.sum) / (uint64_t)count), in print_tc_rx_stats()
/Zephyr-latest/drivers/fuel_gauge/bq27z746/
Dbq27z746.c90 uint8_t sum = 0; /* Intentionally 8 bit wide and overflowing */ in bq27z746_read_mac() local
93 sum += buf[i]; in bq27z746_read_mac()
96 const uint8_t checksum_expected = 0xFF - sum; in bq27z746_read_mac()
/Zephyr-latest/drivers/input/
Dinput_gt911.c223 uint8_t sum = 0; in gt911_get_firmware_checksum() local
227 sum += (*firmware); in gt911_get_firmware_checksum()
231 return (~sum + 1U); in gt911_get_firmware_checksum()
/Zephyr-latest/subsys/net/lib/prometheus/
Dformatter.c179 "%s_sum %f\n", metric->name, histogram->sum); in prometheus_format_one_metric()
215 "%s_sum %f\n", metric->name, summary->sum); in prometheus_format_one_metric()
/Zephyr-latest/tests/benchmarks/thread_metric/
DKconfig28 on each context switch. The sum total of the counters is reported
40 takes that semaphore. The sum total of the counters is reported
/Zephyr-latest/tests/unit/util/
Dmain.c328 static void fsum(uint32_t incr, uint32_t *sum) in fsum() argument
330 *sum = *sum + incr; in fsum()
334 uint32_t sum = 0; in ZTEST() local
336 FOR_EACH_FIXED_ARG(fsum, (;), &sum, 1, 2, 3); in ZTEST()
338 zassert_equal(sum, 6, "Unexpected value %d", sum); in ZTEST()
/Zephyr-latest/kernel/
DCMakeLists.txt162 # Calculate the sum of all "ADD_SIZE" requirements
179 # CONFIG_HEAP_MEM_POOL_SIZE was greater than the sum of the requirements
DKconfig546 Maintain a sum of all non-idle thread cycle usage.
742 and the sum will be compared to the HEAP_MEM_POOL_SIZE value.
743 If the sum is greater than the HEAP_MEM_POOL_SIZE option (even if this
745 to the sum of the individual requirements (unless the
747 considering both this option as well as sum of the custom
/Zephyr-latest/scripts/ci/stats/
Dmerged_prs.py92 business_days = sum(1 for day in dates if day.weekday() < 5)
/Zephyr-latest/cmake/
Dtarget_toolchain_flags.cmake5 # * The MD5 sum of the compiler itself. A MD5 checksum is taken of the content
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/train/
Dtrain.py47 print("Model size:", sum(var_sizes) / 1024, "KB")
/Zephyr-latest/samples/drivers/fpga/fpga_controller/
DREADME.rst103 It will print the sum of the read bytes and return to the shell:
/Zephyr-latest/doc/kernel/services/other/
Dfloat.rst319 double sum;
322 sum = 0.0;
325 sum += *values;
329 return (int)((sum / num_values) + 0.5);
/Zephyr-latest/scripts/build/
Dgen_isr_tables.py99 if sum(self.int_bits) > 32:
/Zephyr-latest/doc/services/pm/
Dsystem.rst102 power savings, with the constraint that the sum of the minimum residency value (see
/Zephyr-latest/include/zephyr/net/
Dnet_stats.h283 uint64_t sum; member
294 uint64_t sum; member
/Zephyr-latest/doc/develop/optimizations/
Dtools.rst42 will list the sum of these in one entry.
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_dtlib.py109 assert sum([bool(err), bool(err_endswith), bool(err_matches)]) == 1
/Zephyr-latest/doc/kernel/memory_management/
Dheap.rst178 specify custom values, the sum of these will be used as the minimum requirement.
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dipc_service_icbmsg.rst132 #. Calculate the minimum size required for ICMsg area ``icmsg_min_size``, which is a sum of:
/Zephyr-latest/doc/kernel/services/
Dinterrupts.rst720 number of bits per level. Regardless of how many bits used for each level, the sum of
721 the total bits used between all levels must sum to be less than or equal to 32-bits,
/Zephyr-latest/doc/kernel/services/data_passing/
Dmailboxes.rst388 /* compute sum of all message bytes (from 0 to 100 of them) */
/Zephyr-latest/scripts/kconfig/
Dmenuconfig.py470 def dist(r1, r2): return sum((x - y)**2 for x, y in zip(r1, r2))

123