Home
last modified time | relevance | path

Searched refs:timing_cycles_get (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-latest/tests/benchmarks/app_kernel/src/
Dmsgq_b.c27 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
36 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
46 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
56 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
66 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
76 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
88 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
99 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
110 et = (uint32_t)timing_cycles_get(&start, &end); in message_queue_test()
Dsema_b.c27 et = (uint32_t)timing_cycles_get(&start, &end); in sema_test()
40 et = (uint32_t)timing_cycles_get(&start, &end); in sema_test()
50 et = (uint32_t)timing_cycles_get(&start, &end); in sema_test()
Dmutex_b.c28 et = (uint32_t)timing_cycles_get(&start, &end); in mutex_test()
Dmemmap_b.c36 et = (uint32_t)timing_cycles_get(&start, &end); in memorymap_test()
Dmailbox_r.c91 *time = timing_cycles_get(&start, &end); in mailbox_get()
Dmailbox_b.c113 t = (unsigned int)timing_cycles_get(&start, &end); in mailbox_put()
Dpipe_r.c122 t = (unsigned int) timing_cycles_get(&start, &end); in pipeget()
Dpipe_b.c201 t = (unsigned int)timing_cycles_get(&start, &end); in pipeput()
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Devents.c45 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()
139 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
140 sum[1] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
155 sum[2] += timing_cycles_get(&start, &mid); in alt_thread_entry()
156 sum[3] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
Dfifo.c57 put_sum += timing_cycles_get(&start, &mid); in fifo_put_get_thread_entry()
58 get_sum += timing_cycles_get(&mid, &finish); in fifo_put_get_thread_entry()
82 put_sum += timing_cycles_get(&start, &mid); in fifo_put_get_thread_entry()
83 get_sum += timing_cycles_get(&mid, &finish); in fifo_put_get_thread_entry()
195 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
196 sum[1] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
216 sum[2] += timing_cycles_get(&start, &mid); in alt_thread_entry()
217 sum[3] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
Dlifo.c57 put_sum += timing_cycles_get(&start, &mid); in lifo_put_get_thread_entry()
58 get_sum += timing_cycles_get(&mid, &finish); in lifo_put_get_thread_entry()
82 put_sum += timing_cycles_get(&start, &mid); in lifo_put_get_thread_entry()
83 get_sum += timing_cycles_get(&mid, &finish); in lifo_put_get_thread_entry()
195 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
196 sum[1] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
216 sum[2] += timing_cycles_get(&start, &mid); in alt_thread_entry()
217 sum[3] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
Dheap_malloc_free.c50 sum_malloc += timing_cycles_get(&heap_malloc_start_time, in heap_malloc_free()
52 sum_free += timing_cycles_get(&heap_free_start_time, in heap_malloc_free()
Dthread.c94 thread_create_sum += timing_cycles_get(&start, &finish); in start_thread_entry()
126 thread_start_sum += timing_cycles_get(&start, &finish); in start_thread_entry()
136 thread_suspend_sum += timing_cycles_get(&start, &finish); in start_thread_entry()
146 thread_resume_sum += timing_cycles_get(&start, &finish); in start_thread_entry()
153 thread_abort_sum += timing_cycles_get(&start, &finish); in start_thread_entry()
Dsema_test_signal_release.c90 take_sum += timing_cycles_get(&start, &mid); in start_thread_entry()
91 give_sum += timing_cycles_get(&mid, &finish); in start_thread_entry()
201 give_cycles = timing_cycles_get(&start, &finish); in immediate_give_take()
212 take_cycles = timing_cycles_get(&start, &finish); in immediate_give_take()
Dstack.c50 put_sum += timing_cycles_get(&start, &mid); in stack_push_pop_thread_entry()
51 get_sum += timing_cycles_get(&mid, &finish); in stack_push_pop_thread_entry()
137 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
138 sum[1] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
Dmutex_lock_unlock.c44 lock_cycles = timing_cycles_get(&start, &finish); in start_lock_unlock()
56 unlock_cycles = timing_cycles_get(&start, &finish); in start_lock_unlock()
Dcondvar.c43 sum[0] += timing_cycles_get(&start, &timestamp.sample); in start_thread_entry()
44 sum[1] += timing_cycles_get(&timestamp.sample, &finish); in start_thread_entry()
Dint_to_thread.c68 *sum += timing_cycles_get(&start, &finish); in int_to_interrupted_thread()
99 sum += timing_cycles_get(&start, &finish); in start_thread_entry()
Dtiming_sc.c55 min_cycles = MIN(min_cycles, timing_cycles_get(&start, &finish)); in start_thread_entry()
Dthread_switch_yield.c80 sum += timing_cycles_get(&start, &finish); in start_thread_entry()
/Zephyr-latest/tests/drivers/disk/disk_performance/src/
Dmain.c107 cycles = timing_cycles_get(&start_time, &end_time); in read_helper()
166 cycles = timing_cycles_get(&start_time, &end_time); in write_helper()
233 cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
285 cycles = timing_cycles_get(&start_time, &end_time); in ZTEST()
/Zephyr-latest/tests/benchmarks/wait_queues/src/
Dmain.c82 add_cycles[i] += timing_cycles_get(&start, &finish); in test_decreasing_priority()
92 remove_cycles[i] += timing_cycles_get(&start, &finish); in test_decreasing_priority()
112 add_cycles[i] += timing_cycles_get(&start, &finish); in test_increasing_priority()
124 remove_cycles[i] += timing_cycles_get(&start, &finish); in test_increasing_priority()
/Zephyr-latest/tests/benchmarks/sched_queues/src/
Dmain.c110 remove_cycles[i - 1] += timing_cycles_get(&start, &finish); in test_decreasing_priority()
117 add_cycles[i] += timing_cycles_get(&start, &finish); in test_decreasing_priority()
131 remove_cycles[i - 1] += timing_cycles_get(&start, &finish); in test_increasing_priority()
138 add_cycles[num_threads - i] += timing_cycles_get(&start, &finish); in test_increasing_priority()
/Zephyr-latest/doc/kernel/timing_functions/
Dindex.rst35 5. Call :c:func:`timing_cycles_get` to get the number of timer cycles
71 total_cycles = timing_cycles_get(&start_time, &end_time);
/Zephyr-latest/include/zephyr/timing/
Dtiming.h318 static inline uint64_t timing_cycles_get(volatile timing_t *const start, in timing_cycles_get() function

12