Searched refs:total_cycles (Results 1 – 12 of 12) sorted by relevance
79 static uint64_t total_cycles; variable117 total_cycles += (cached_icr - ccr); in sys_clock_set_timeout()118 partial_cycles = CYCLES_PER_TICK - (total_cycles % CYCLES_PER_TICK); in sys_clock_set_timeout()132 ticks = total_cycles - last_announcement; in sys_clock_elapsed()165 total_cycles += cycles; in isr()166 ticks = (total_cycles - last_announcement) / CYCLES_PER_TICK; in isr()167 last_announcement = total_cycles; in isr()179 total_cycles += CYCLES_PER_TICK; in isr()213 ret = total_cycles + (cached_icr - ccr); in sys_clock_cycle_get_32()
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 …]
108 zassert_true(stats1.execution_cycles == stats1.total_cycles); in ZTEST()109 zassert_true(stats2.execution_cycles == stats2.total_cycles); in ZTEST()110 zassert_true(stats3.execution_cycles == stats3.total_cycles); in ZTEST()162 zassert_true(stats4.total_cycles >= stats3.total_cycles); in ZTEST()163 zassert_true(stats5.total_cycles > stats4.total_cycles); in ZTEST()310 zassert_true(sys_stats1.total_cycles == sys_stats2.total_cycles); in ZTEST()346 zassert_true(sys_stats2.total_cycles < sys_stats3.total_cycles); in ZTEST()495 zassert_true(stats1.execution_cycles == stats1.total_cycles); in ZTEST()496 zassert_true(stats2.execution_cycles == stats2.total_cycles); in ZTEST()
130 uint64_t total_cycles = 0; in do_test_using() local142 total_cycles += diff; in do_test_using()152 (double)total_cycles / (double)(CONFIG_TIMER_TEST_SAMPLES - periodic_rollovers); in do_test_using()153 double mean_us = cycles_to_us(total_cycles) / in do_test_using()
59 uint64_t total_cycles;71 total_cycles = timing_cycles_get(&start_time, &end_time);72 total_ns = timing_cycles_to_ns(total_cycles);
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()
1114 stats->total_cycles += tmp_stats.total_cycles; in k_thread_runtime_stats_all_get()
84 uint32_t total_cycles; member
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()
195 uint64_t total_cycles; /* total # of non-idle cycles */ member
54 info->usage.total_cycles); in thread_print_cb()
93 pending_resp.response.stats.total_cycles = regs->gnaptc;96 pending_resp.response.stats.total_cycles = 0U;