/Zephyr-Core-3.7.0/tests/benchmarks/cmsis_dsp/basicmath/src/ |
D | q15.c | 88 uint32_t irq_key, timestamp, timespan; in ZTEST() local 96 benchmark_begin(&irq_key, ×tamp); in ZTEST() 102 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 113 uint32_t irq_key, timestamp, timespan; in ZTEST() local 121 benchmark_begin(&irq_key, ×tamp); in ZTEST() 127 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 138 uint32_t irq_key, timestamp, timespan; in ZTEST() local 146 benchmark_begin(&irq_key, ×tamp); in ZTEST() 152 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 163 uint32_t irq_key, timestamp, timespan; in ZTEST() local [all …]
|
D | q31.c | 152 uint32_t irq_key, timestamp, timespan; in ZTEST() local 160 benchmark_begin(&irq_key, ×tamp); in ZTEST() 166 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 177 uint32_t irq_key, timestamp, timespan; in ZTEST() local 185 benchmark_begin(&irq_key, ×tamp); in ZTEST() 191 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 202 uint32_t irq_key, timestamp, timespan; in ZTEST() local 210 benchmark_begin(&irq_key, ×tamp); in ZTEST() 216 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 227 uint32_t irq_key, timestamp, timespan; in ZTEST() local [all …]
|
D | q7.c | 88 uint32_t irq_key, timestamp, timespan; in ZTEST() local 96 benchmark_begin(&irq_key, ×tamp); in ZTEST() 102 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 113 uint32_t irq_key, timestamp, timespan; in ZTEST() local 121 benchmark_begin(&irq_key, ×tamp); in ZTEST() 127 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 138 uint32_t irq_key, timestamp, timespan; in ZTEST() local 146 benchmark_begin(&irq_key, ×tamp); in ZTEST() 152 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 163 uint32_t irq_key, timestamp, timespan; in ZTEST() local [all …]
|
D | f32.c | 152 uint32_t irq_key, timestamp, timespan; in ZTEST() local 160 benchmark_begin(&irq_key, ×tamp); in ZTEST() 168 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 179 uint32_t irq_key, timestamp, timespan; in ZTEST() local 187 benchmark_begin(&irq_key, ×tamp); in ZTEST() 195 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 206 uint32_t irq_key, timestamp, timespan; in ZTEST() local 214 benchmark_begin(&irq_key, ×tamp); in ZTEST() 222 timespan = benchmark_end(irq_key, timestamp); in ZTEST() 233 uint32_t irq_key, timestamp, timespan; in ZTEST() local [all …]
|
/Zephyr-Core-3.7.0/tests/benchmarks/cmsis_dsp/common/ |
D | benchmark_common.h | 18 static ALWAYS_INLINE void benchmark_begin(uint32_t *irq_key, uint32_t *timestamp) in benchmark_begin() argument 20 ARG_UNUSED(timestamp); in benchmark_begin() 30 static ALWAYS_INLINE uint32_t benchmark_end(uint32_t irq_key, uint32_t timestamp) in benchmark_end() argument 47 static ALWAYS_INLINE void benchmark_begin(uint32_t *irq_key, uint32_t *timestamp) in benchmark_begin() argument 58 *timestamp = now; in benchmark_begin() 61 static ALWAYS_INLINE uint32_t benchmark_end(uint32_t irq_key, uint32_t timestamp) in benchmark_end() argument 72 return now - timestamp; in benchmark_end()
|
/Zephyr-Core-3.7.0/samples/drivers/misc/timeaware_gpio/ |
D | README.rst | 41 [TGPIO] timestamp: 0000000000000000, event count: 0000000000000000 42 [TGPIO] timestamp: 0000000148a3cf31, event count: 0000000000000001 43 [TGPIO] timestamp: 0000000149c8c731, event count: 0000000000000002 44 [TGPIO] timestamp: 000000014aedbf31, event count: 0000000000000003 45 [TGPIO] timestamp: 000000014c12b731, event count: 0000000000000004 46 [TGPIO] timestamp: 000000014d37af31, event count: 0000000000000005 47 [TGPIO] timestamp: 000000014e5ca731, event count: 0000000000000006 48 [TGPIO] timestamp: 000000014f819f31, event count: 0000000000000007 49 [TGPIO] timestamp: 0000000150a69731, event count: 0000000000000008 50 [TGPIO] timestamp: 0000000151cb8f31, event count: 0000000000000009 [all …]
|
/Zephyr-Core-3.7.0/samples/boards/nrf/nrf53_sync_rtc/ |
D | README.rst | 16 core. In the context of the IPC interrupt handler, network core is logging timestamp 19 and once procedure is completed timestamps are synchronized. Network core timestamp 63 [00:00:00.054,534] <inf> main: Local timestamp: 1787, application core timestamp: 10056 64 [00:00:00.104,553] <inf> main: Local timestamp: 3426, application core timestamp: 11695 65 [00:00:00.154,571] <inf> main: Local timestamp: 5065, application core timestamp: 13334 66 [00:00:00.204,589] <inf> main: Local timestamp: 6704, application core timestamp: 14973 67 [00:00:00.254,608] <inf> main: Local timestamp: 8343, application core timestamp: 16612 68 [00:00:00.514,892] <inf> sync_rtc: Updated timestamp to synchronized RTC by 8270 ticks (252380us) 69 [00:00:00.557,006] <inf> main: Local timestamp: 18252, application core timestamp: 18251 70 [00:00:00.607,025] <inf> main: Local timestamp: 19891, application core timestamp: 19890 [all …]
|
/Zephyr-Core-3.7.0/tests/benchmarks/latency_measure/src/ |
D | events.c | 45 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 59 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 73 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 87 timestamp.cycles = timing_cycles_get(&start, &finish); in event_ops_entry() 103 timestamp.sample = timing_timestamp_get(); in start_thread_entry() 111 timestamp.sample = timing_timestamp_get(); in start_thread_entry() 137 mid = timestamp.sample; in alt_thread_entry() 153 mid = timestamp.sample; in alt_thread_entry() 161 timestamp.cycles = sum[0]; in alt_thread_entry() 164 timestamp.cycles = sum[1]; in alt_thread_entry() [all …]
|
D | thread.c | 42 timestamp.sample = timing_timestamp_get(); in alt_thread_entry() 50 timestamp.sample = timing_timestamp_get(); in alt_thread_entry() 55 timestamp.sample = timing_timestamp_get(); in alt_thread_entry() 125 finish = timestamp.sample; in start_thread_entry() 134 start = timestamp.sample; in start_thread_entry() 145 finish = timestamp.sample; in start_thread_entry() 156 timestamp.cycles = thread_create_sum; in start_thread_entry() 159 timestamp.cycles = thread_start_sum; in start_thread_entry() 162 timestamp.cycles = thread_suspend_sum; in start_thread_entry() 165 timestamp.cycles = thread_resume_sum; in start_thread_entry() [all …]
|
D | fifo.c | 61 timestamp.cycles = put_sum; in fifo_put_get_thread_entry() 64 timestamp.cycles = get_sum; in fifo_put_get_thread_entry() 86 timestamp.cycles = put_sum; in fifo_put_get_thread_entry() 89 timestamp.cycles = get_sum; in fifo_put_get_thread_entry() 121 cycles = timestamp.cycles; in fifo_ops() 132 cycles = timestamp.cycles; in fifo_ops() 145 cycles = timestamp.cycles; in fifo_ops() 155 cycles = timestamp.cycles; in fifo_ops() 193 mid = timestamp.sample; in alt_thread_entry() 214 mid = timestamp.sample; in alt_thread_entry() [all …]
|
D | lifo.c | 61 timestamp.cycles = put_sum; in lifo_put_get_thread_entry() 64 timestamp.cycles = get_sum; in lifo_put_get_thread_entry() 86 timestamp.cycles = put_sum; in lifo_put_get_thread_entry() 89 timestamp.cycles = get_sum; in lifo_put_get_thread_entry() 121 cycles = timestamp.cycles; in lifo_ops() 132 cycles = timestamp.cycles; in lifo_ops() 145 cycles = timestamp.cycles; in lifo_ops() 155 cycles = timestamp.cycles; in lifo_ops() 193 mid = timestamp.sample; in alt_thread_entry() 214 mid = timestamp.sample; in alt_thread_entry() [all …]
|
D | condvar.c | 43 sum[0] += timing_cycles_get(&start, ×tamp.sample); in start_thread_entry() 44 sum[1] += timing_cycles_get(×tamp.sample, &finish); in start_thread_entry() 51 timestamp.cycles = sum[0]; in start_thread_entry() 54 timestamp.cycles = sum[1]; in start_thread_entry() 66 timestamp.sample = timing_timestamp_get(); in alt_thread_entry() 113 cycles = timestamp.cycles; in condvar_blocking_ops() 124 cycles = timestamp.cycles; in condvar_blocking_ops()
|
D | sema_test_signal_release.c | 42 timestamp.sample = mid; in alt_thread_entry() 88 mid = timestamp.sample; in start_thread_entry() 98 timestamp.cycles = take_sum; in start_thread_entry() 102 timestamp.cycles = give_sum; in start_thread_entry() 139 cycles = timestamp.cycles; in sema_context_switch() 157 cycles = timestamp.cycles; in sema_context_switch() 216 timestamp.cycles = give_cycles; in immediate_give_take() 224 timestamp.cycles = take_cycles; in immediate_give_take() 261 cycles = timestamp.cycles; in sema_test_signal() 282 cycles = timestamp.cycles; in sema_test_signal()
|
D | stack.c | 54 timestamp.cycles = put_sum; in stack_push_pop_thread_entry() 57 timestamp.cycles = get_sum; in stack_push_pop_thread_entry() 90 cycles = timestamp.cycles; in stack_ops() 101 cycles = timestamp.cycles; in stack_ops() 135 mid = timestamp.sample; in alt_thread_entry() 141 timestamp.cycles = sum[0]; in alt_thread_entry() 143 timestamp.cycles = sum[1]; in alt_thread_entry() 157 timestamp.sample = timing_timestamp_get(); in start_thread_entry() 203 cycles = timestamp.cycles; in stack_blocking_ops() 214 cycles = timestamp.cycles; in stack_blocking_ops()
|
D | mutex_lock_unlock.c | 58 timestamp.cycles = lock_cycles; in start_lock_unlock() 61 timestamp.cycles = unlock_cycles; in start_lock_unlock() 94 cycles = timestamp.cycles; in mutex_lock_unlock() 105 cycles = timestamp.cycles; in mutex_lock_unlock()
|
D | int_to_thread.c | 47 timestamp.sample = timing_timestamp_get(); in test_isr() 66 start = timestamp.sample; in int_to_interrupted_thread() 97 start = timestamp.sample; in start_thread_entry() 102 timestamp.cycles = sum; in start_thread_entry() 157 *sum = timestamp.cycles; in int_to_another_thread()
|
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/ace/ |
D | timestamp.c | 28 int intel_adsp_get_timestamp(uint32_t tsctrl, struct intel_adsp_timestamp *timestamp) in intel_adsp_get_timestamp() argument 83 timestamp->iscs = sys_read32(ISCS_ADDR); in intel_adsp_get_timestamp() 84 timestamp->lscs = sys_read64(LSCS_ADDR); in intel_adsp_get_timestamp() 85 timestamp->dwccs = sys_read64(DWCCS_ADDR); in intel_adsp_get_timestamp() 86 timestamp->artcs = sys_read64(ARTCS_ADDR); in intel_adsp_get_timestamp() 87 timestamp->lwccs = sys_read32(LWCCS_ADDR); in intel_adsp_get_timestamp()
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_link_order/src/ |
D | main.c | 24 static log_timestamp_t timestamp; variable 46 return timestamp++; in timestamp_get() 56 timestamp = 0; in log_setup() 84 zassert_equal(msg->log.hdr.timestamp, exp_timestamp, "%d: got:%d, exp:%d", in check_msg() 85 line, (int)msg->log.hdr.timestamp, exp_timestamp); in check_msg() 109 log2.hdr.timestamp = timestamp_get(); in ZTEST() 140 log2.hdr.timestamp = t; in ZTEST() 174 log2.hdr.timestamp = t; in ZTEST() 182 log2.hdr.timestamp = timestamp_get(); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/subsys/logging/log_api/src/ |
D | mock_backend.h | 19 log_timestamp_t timestamp; member 56 log_timestamp_t timestamp, 65 log_timestamp_t timestamp, in mock_log_backend_record() argument 69 timestamp, str, NULL, 0); in mock_log_backend_record()
|
D | mock_backend.c | 59 log_timestamp_t timestamp, in mock_log_backend_generic_record() argument 68 if (IS_ENABLED(CONFIG_LOG_FRONTEND_ONLY) && timestamp != (log_timestamp_t)UINT32_MAX) { in mock_log_backend_generic_record() 76 exp->timestamp = timestamp; in mock_log_backend_generic_record() 142 zassert_equal(msg->log.hdr.timestamp, exp->timestamp, in process() 148 msg->log.hdr.timestamp, exp->timestamp); in process()
|
/Zephyr-Core-3.7.0/subsys/net/lib/sntp/ |
D | Kconfig | 13 bool "Calculate SNTP uncertainty and set uptime timestamp" 15 Get a more reliable timestamp by supplying the sntp_time struct with an 16 uptime timestamp of when the time was valid and an uncertainty of the 18 seconds,fraction +/- uncertainty at uptime timestamp.
|
/Zephyr-Core-3.7.0/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_prof.c | 25 static inline void sample(uint32_t *timestamp); 26 static inline void delta(uint32_t timestamp, uint8_t *cputime); 245 static inline void sample(uint32_t *timestamp) in sample() argument 248 *timestamp = radio_tmr_sample_get(); in sample() 251 static inline void delta(uint32_t timestamp, uint8_t *cputime) in delta() argument 256 delta = radio_tmr_sample_get() - timestamp; in delta()
|
/Zephyr-Core-3.7.0/tests/lib/ringbuffer/src/ |
D | main.c | 944 uint32_t timestamp; in ZTEST() local 950 timestamp = k_cycle_get_32(); in ZTEST() 955 timestamp = k_cycle_get_32() - timestamp; in ZTEST() 956 PRINT("1 byte put-get, avg cycles: %d\n", timestamp/loop); in ZTEST() 960 timestamp = k_cycle_get_32(); in ZTEST() 965 timestamp = k_cycle_get_32() - timestamp; in ZTEST() 966 PRINT("4 byte put-get, avg cycles: %d\n", timestamp/loop); in ZTEST() 970 timestamp = k_cycle_get_32(); in ZTEST() 976 timestamp = k_cycle_get_32() - timestamp; in ZTEST() 977 PRINT("1 byte put claim-finish, avg cycles: %d\n", timestamp/loop); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/samples/kernel/metairq_dispatch/src/ |
D | msgdev.c | 57 uint32_t timestamp = k_cycle_get_32(); in dev_timer_expired() local 61 m.timestamp = timestamp; in dev_timer_expired()
|
/Zephyr-Core-3.7.0/include/zephyr/logging/ |
D | log_output_custom.h | 75 const log_timestamp_t timestamp, 87 int log_custom_timestamp_print(const struct log_output *output, const log_timestamp_t timestamp,
|