Lines Matching refs:sum
56 static void int_to_interrupted_thread(uint32_t num_iterations, uint64_t *sum) in int_to_interrupted_thread() argument
61 *sum = 0ull; in int_to_interrupted_thread()
68 *sum += timing_cycles_get(&start, &finish); in int_to_interrupted_thread()
79 uint64_t sum = 0ull; in start_thread_entry() local
99 sum += timing_cycles_get(&start, &finish); in start_thread_entry()
102 timestamp.cycles = sum; in start_thread_entry()
127 static void int_to_another_thread(uint32_t num_iterations, uint64_t *sum, in int_to_another_thread() argument
131 *sum = 0ull; in int_to_another_thread()
157 *sum = timestamp.cycles; in int_to_another_thread()
168 uint64_t sum; in int_to_thread() local
174 int_to_interrupted_thread(num_iterations, &sum); in int_to_thread()
176 sum -= timestamp_overhead_adjustment(0, 0); in int_to_thread()
181 PRINT_STATS_AVG(description, (uint32_t)sum, num_iterations, false, ""); in int_to_thread()
185 int_to_another_thread(num_iterations, &sum, 0); in int_to_thread()
187 sum -= timestamp_overhead_adjustment(0, 0); in int_to_thread()
192 PRINT_STATS_AVG(description, (uint32_t)sum, num_iterations, false, ""); in int_to_thread()
197 int_to_another_thread(num_iterations, &sum, K_USER); in int_to_thread()
199 sum -= timestamp_overhead_adjustment(0, K_USER); in int_to_thread()
204 PRINT_STATS_AVG(description, (uint32_t)sum, num_iterations, false, ""); in int_to_thread()