Searched refs:total_cycles (Results 1 – 12 of 12) sorted by relevance
93 static uint32_t total_cycles; variable173 temp = total_cycles; in sys_clock_set_timeout()176 total_cycles = temp; in sys_clock_set_timeout()178 partial_cycles = CYCLES_PER_TICK - (total_cycles % CYCLES_PER_TICK); in sys_clock_set_timeout()207 elapsed = (int32_t)total_cycles - (int32_t)last_announcement; in sys_clock_elapsed()238 total_cycles += cycles; in mec5_ktimer_isr()239 total_cycles &= RTIMER_COUNT_MASK; in mec5_ktimer_isr()242 ticks = total_cycles - last_announcement; in mec5_ktimer_isr()246 last_announcement = total_cycles; in mec5_ktimer_isr()265 uint32_t temp = total_cycles + CYCLES_PER_TICK; in mec5_ktimer_isr()[all …]
104 static uint32_t total_cycles; variable224 temp = total_cycles; in sys_clock_set_timeout()227 total_cycles = temp; in sys_clock_set_timeout()229 partial_cycles = CYCLES_PER_TICK - (total_cycles % CYCLES_PER_TICK); in sys_clock_set_timeout()258 elapsed = (int32_t)total_cycles - (int32_t)last_announcement; in sys_clock_elapsed()289 total_cycles += cycles; in xec_rtos_timer_isr()290 total_cycles &= TIMER_COUNT_MASK; in xec_rtos_timer_isr()293 ticks = total_cycles - last_announcement; in xec_rtos_timer_isr()297 last_announcement = total_cycles; in xec_rtos_timer_isr()318 uint32_t temp = total_cycles + CYCLES_PER_TICK; in xec_rtos_timer_isr()[all …]
48 static volatile uint64_t total_cycles; variable54 total_cycles += CYCLES_PER_TICK; in isr()77 cycles = total_cycles; in sys_clock_cycle_get_64()
110 zassert_true(stats1.execution_cycles == stats1.total_cycles); in ZTEST()111 zassert_true(stats2.execution_cycles == stats2.total_cycles); in ZTEST()112 zassert_true(stats3.execution_cycles == stats3.total_cycles); in ZTEST()164 zassert_true(stats4.total_cycles >= stats3.total_cycles); in ZTEST()165 zassert_true(stats5.total_cycles > stats4.total_cycles); in ZTEST()312 zassert_true(sys_stats1.total_cycles == sys_stats2.total_cycles); in ZTEST()348 zassert_true(sys_stats2.total_cycles < sys_stats3.total_cycles); in ZTEST()497 zassert_true(stats1.execution_cycles == stats1.total_cycles); in ZTEST()498 zassert_true(stats2.execution_cycles == stats2.total_cycles); in ZTEST()
59 uint64_t total_cycles;71 total_cycles = timing_cycles_get(&start_time, &end_time);72 total_ns = timing_cycles_to_ns(total_cycles);
113 sum_query.total_cycles += cpu_query.total_cycles; in ZTEST()127 zassert_true(sum_query.total_cycles >= kernel_query.total_cycles); in ZTEST()288 zassert_true(query2.total_cycles > query1.total_cycles, in ZTEST()318 zassert_equal(query3.total_cycles, 0, in ZTEST()319 "Expected 0, got %llu\n", query3.total_cycles); in ZTEST()367 zassert_true(query3.total_cycles > 0); in ZTEST()
156 uint64_t total_cycles = 0; in do_test_using() local168 total_cycles += diff; in do_test_using()187 (double)total_cycles / (double)(CONFIG_TIMER_TEST_SAMPLES - periodic_rollovers); in do_test_using()188 double mean_us = cycles_to_us(total_cycles) / in do_test_using()
151 stats->total_cycles = cpu->usage->total; in z_sched_cpu_usage()159 stats->average_cycles = stats->total_cycles / in z_sched_cpu_usage()167 stats->execution_cycles = stats->total_cycles + stats->idle_cycles; in z_sched_cpu_usage()204 stats->total_cycles = thread->base.usage.total; in z_sched_thread_usage()215 stats->average_cycles = stats->total_cycles / in z_sched_thread_usage()
982 stats->total_cycles += tmp_stats.total_cycles; in k_thread_runtime_stats_all_get()
119 static uint64_t total_cycles; in control_load() local142 (rt_stats_all.execution_cycles - total_cycles)); in control_load()145 total_cycles = rt_stats_all.execution_cycles; in control_load()
214 uint64_t total_cycles; /* total # of non-idle cycles */ member
66 " ", info->usage.total_cycles); in thread_print_cb()