Searched refs:hist (Results 1 – 4 of 4) sorted by relevance
171 void z_paging_histogram_inc(struct k_mem_paging_histogram_t *hist, in z_paging_histogram_inc() argument179 if (cycles <= hist->bounds[idx]) { in z_paging_histogram_inc()180 hist->counts[idx]++; in z_paging_histogram_inc()187 struct k_mem_paging_histogram_t *hist) in z_impl_k_mem_paging_histogram_eviction_get() argument189 if (hist == NULL) { in z_impl_k_mem_paging_histogram_eviction_get()194 memcpy(hist, &z_paging_histogram_eviction, in z_impl_k_mem_paging_histogram_eviction_get()199 struct k_mem_paging_histogram_t *hist) in z_impl_k_mem_paging_histogram_backing_store_page_in_get() argument201 if (hist == NULL) { in z_impl_k_mem_paging_histogram_backing_store_page_in_get()206 memcpy(hist, &z_paging_histogram_backing_store_page_in, in z_impl_k_mem_paging_histogram_backing_store_page_in_get()211 struct k_mem_paging_histogram_t *hist) in z_impl_k_mem_paging_histogram_backing_store_page_out_get() argument[all …]
405 static bool print_histogram(struct k_mem_paging_histogram_t *hist) in print_histogram() argument416 time_ns = timing_cycles_to_ns(hist->bounds[idx]); in print_histogram()418 time_ns = k_cyc_to_ns_ceil64(hist->bounds[idx]); in print_histogram()421 hist->bounds[idx], hist->counts[idx]); in print_histogram()422 if (hist->counts[idx] > 0U) { in print_histogram()433 struct k_mem_paging_histogram_t hist; in ZTEST_USER() local436 k_mem_paging_histogram_eviction_get(&hist); in ZTEST_USER()437 zassert_true(print_histogram(&hist), in ZTEST_USER()442 k_mem_paging_histogram_backing_store_page_in_get(&hist); in ZTEST_USER()443 zassert_true(print_histogram(&hist), in ZTEST_USER()[all …]
184 struct k_mem_paging_histogram_t *hist);195 struct k_mem_paging_histogram_t *hist);206 struct k_mem_paging_histogram_t *hist);
261 void z_paging_histogram_inc(struct k_mem_paging_histogram_t *hist,