Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 144) sorted by relevance

123456

/Zephyr-latest/lib/heap/
Dheap_info.c17 size_t free_bytes, allocated_bytes, total, overhead; in heap_print_info() local
65 total = h->end_chunk * CHUNK_UNIT + chunk_header_bytes(h); in heap_print_info()
66 overhead = total - free_bytes - allocated_bytes; in heap_print_info()
69 (1000 * overhead + total / 2) / total / 10, in heap_print_info()
70 (1000 * overhead + total / 2) / total % 10); in heap_print_info()
/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_cooperative_scheduling_test.c190 unsigned long total; in tm_cooperative_thread_report() local
214 total = tm_cooperative_thread_0_counter + tm_cooperative_thread_1_counter + in tm_cooperative_thread_report()
219 average = total / 5; in tm_cooperative_thread_report()
245 printf("Time Period Total: %lu\n\n", total - last_total); in tm_cooperative_thread_report()
248 last_total = total; in tm_cooperative_thread_report()
Dtm_preemptive_scheduling_test.c222 unsigned long total; in tm_preemptive_thread_report() local
246 total = tm_preemptive_thread_0_counter + tm_preemptive_thread_1_counter + in tm_preemptive_thread_report()
251 average = total / 5; in tm_preemptive_thread_report()
276 printf("Time Period Total: %lu\n\n", total - last_total); in tm_preemptive_thread_report()
279 last_total = total; in tm_preemptive_thread_report()
Dtm_interrupt_processing_test.c157 unsigned long total; in tm_interrupt_thread_report() local
181 total = tm_interrupt_thread_0_counter + tm_interrupt_handler_counter; in tm_interrupt_thread_report()
184 average = total / 2; in tm_interrupt_thread_report()
Dtm_interrupt_preemption_processing_test.c167 unsigned long total; in tm_interrupt_preemption_thread_report() local
192 total = tm_interrupt_preemption_thread_0_counter + in tm_interrupt_preemption_thread_report()
197 average = total / 3; in tm_interrupt_preemption_thread_report()
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c32 size_t total = nbuf * buf_size; in write_read() local
109 if (stat.size != total) { in write_read()
110 TC_PRINT("File size %zu not %zu\n", stat.size, total); in write_read()
116 tag, nbuf, buf_size, total, (t1 - t0), in write_read()
117 (uint32_t)(total * 1000U / (t1 - t0)), in write_read()
118 (uint32_t)(total * 1000U / (t1 - t0) / 1024U)); in write_read()
142 tag, nbuf, buf_size, total, (t1 - t0), in write_read()
143 (uint32_t)(total * 1000U / (t1 - t0)), in write_read()
144 (uint32_t)(total * 1000U / (t1 - t0) / 1024U)); in write_read()
/Zephyr-latest/tests/subsys/zbus/integration/src/
Dmain.c45 struct net_pkt_msg pkt = {.total = data.a + data.b}; in core_thread()
48 pkt.total); in core_thread()
71 LOG_DBG("[Net] Total %d", pkt.total); in net_thread()
74 .pkt_total = pkt.total}; in net_thread()
147 pkt.total = 0; in context_reset()
152 p->total = 0; in context_reset()
214 zassert_equal(pkt.total, 6, "result was %d", pkt.total); in ZTEST()
215 zassert_equal(pkt.total, lm->pkt_total, NULL); in ZTEST()
275 zassert_equal(pkt.total, 4, "result was %d", pkt.total); in ZTEST()
276 zassert_equal(pkt.total, lm->pkt_total, NULL); in ZTEST()
Dmessages.h22 int total; member
Dchannels.c34 ZBUS_MSG_INIT(.total = 0) /* Initial value */
/Zephyr-latest/tests/subsys/sensing/src/
Dmain.c36 int total = 0; in get_total_sensor_counts() local
39 total += sensors[i].sensor_type_count; in get_total_sensor_counts()
41 return total; in get_total_sensor_counts()
/Zephyr-latest/samples/subsys/zbus/benchmark/
Dbenchmark_256KB.robot44 ${total} Set Variable 0
54 ${total} Evaluate ${total}+${val}
56 ${duration} Evaluate ${total}/3.0
/Zephyr-latest/doc/services/device_mgmt/
Dsmp_transport.rst68 Body of initial frame is preceded by two byte total packet length,
102 | total length | 2 bytes | Big endian 16-bit value |
103 | | | representing total length |
106 | | | total length field is not |
107 | | | added to total length |
126 | total length | 2 bytes | Big endian 16-bit value |
127 | | | representing total length |
130 | | | total length field is not |
131 | | | added to total length |
/Zephyr-latest/tests/benchmarks/thread_metric/
DKconfig13 These tests measure the total number of RTOS events that can be
28 on each context switch. The sum total of the counters is reported
40 takes that semaphore. The sum total of the counters is reported
51 of a thread. The total number of context switches is reported every
73 cyclical pattern. The total number of context switches is reported
/Zephyr-latest/subsys/net/lib/lwm2m/
DKconfig.ipso24 This setting establishes the total count of IPSO Temperature
53 This setting establishes the total count of IPSO Generic
93 This setting establishes the total count of IPSO Humidity
124 This setting establishes the total count of IPSO Pressure
157 This setting establishes the total count of IPSO Light Control
170 This setting establishes the total count of IPSO Accelerometer
199 This setting establishes the total count of IPSO Buzzer
227 This setting establishes the total count of IPSO Timer
240 This setting establishes the total count of IPSO On/Off Switch
270 This setting establishes the total count of IPSO Push Button
[all …]
/Zephyr-latest/kernel/
Dusage.c43 cpu->usage->total += cycles; in sched_cpu_update_usage()
63 thread->base.usage.total += cycles; in sched_thread_update_usage()
151 stats->total_cycles = cpu->usage->total; in z_sched_cpu_usage()
165 _kernel.cpus[cpu_id].idle_thread->base.usage.total; in z_sched_cpu_usage()
203 stats->execution_cycles = thread->base.usage.total; in z_sched_thread_usage()
204 stats->total_cycles = thread->base.usage.total; in z_sched_thread_usage()
379 stats->total = 0ULL; in z_thread_stats_reset()
/Zephyr-latest/include/zephyr/kernel/
Dstats.h19 uint64_t total; /**< total usage in cycles */ member
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dremote-fw-service.py58 total = d[HEADER_SZ:]
64 while len(total) < fsize:
65 data = self.request.recv(min(BUF_SIZE, fsize - len(total)))
68 total += data
74 f.write(total)
80 md5_rx = hashlib.md5(total).hexdigest()
/Zephyr-latest/modules/canopennode/
Dcanopen_program.c48 size_t total; member
107 ctx.total = odf_arg->dataLengthTotal; in canopen_odf_1f50()
108 LOG_DBG("total = %d", ctx.total); in canopen_odf_1f50()
124 if (ctx.total != 0 && in canopen_odf_1f50()
125 ctx.total != flash_img_bytes_written(&ctx.flash_img_ctx)) { in canopen_odf_1f50()
/Zephyr-latest/drivers/modem/
Dmodem_socket.c24 uint16_t total = 0U; in modem_socket_next_packet_size() local
32 total = sock->packet_sizes[0]; in modem_socket_next_packet_size()
36 return total; in modem_socket_next_packet_size()
42 uint16_t total = 0U; in modem_socket_packet_get_total() local
49 total += sock->packet_sizes[i]; in modem_socket_packet_get_total()
52 return total; in modem_socket_packet_get_total()
/Zephyr-latest/dts/arm/nxp/
Dnxp_lpc55S36_ns.dtsi23 * Combine SRAM0, SRAM1, SRAM2, SRAM3, SRAM4 for total of 112K RAM
Dnxp_lpc55S06_ns.dtsi33 * Combine SRAM0, SRAM1, SRAM2 for total of 80K RAM
/Zephyr-latest/drivers/led/
DKconfig.is31fl373312 per LED, or 42 mA total across all LEDs in the 12x16 dot matrix.
/Zephyr-latest/lib/utils/
Djson.c633 ptrdiff_t total = 0; in get_elem_size() local
638 total += get_elem_size(&descr->object.sub_descr[i]); in get_elem_size()
645 return ROUND_UP(total, 1 << align_shift); in get_elem_size()
1257 ssize_t *total = data; in measure_bytes() local
1259 *total += (ssize_t)len; in measure_bytes()
1269 ssize_t total = 0; in json_calc_encoded_len() local
1272 ret = json_obj_encode(descr, descr_len, val, measure_bytes, &total); in json_calc_encoded_len()
1277 return total; in json_calc_encoded_len()
1283 ssize_t total = 0; in json_calc_encoded_arr_len() local
1286 ret = json_arr_encode(descr, val, measure_bytes, &total); in json_calc_encoded_arr_len()
[all …]
/Zephyr-latest/dts/arm/st/l4/
Dstm32l4r5.dtsi14 /* total SRAM 640KB for the stm32L4R5x and stm32L4S5x */
/Zephyr-latest/subsys/logging/
Dlog_output.c306 int total = 0; in ids_print() local
309 total += print_formatted(output, "<%s> ", severity[level]); in ids_print()
314 total += print_formatted(output, "[%s] ", in ids_print()
317 total += print_formatted(output, "[%p] ", tid); in ids_print()
322 total += print_formatted(output, "%s/", domain); in ids_print()
326 total += print_formatted(output, in ids_print()
333 return total; in ids_print()

123456