Home
last modified time | relevance | path

Searched refs:hist (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/kernel/paging/
Dstatistics.c171 void z_paging_histogram_inc(struct k_mem_paging_histogram_t *hist, in z_paging_histogram_inc() argument
179 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() argument
189 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() argument
201 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 …]
/Zephyr-latest/tests/kernel/mem_protect/demand_paging/mem_map/src/
Dmain.c405 static bool print_histogram(struct k_mem_paging_histogram_t *hist) in print_histogram() argument
416 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() local
436 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 …]
/Zephyr-latest/include/zephyr/kernel/mm/
Ddemand_paging.h184 struct k_mem_paging_histogram_t *hist);
195 struct k_mem_paging_histogram_t *hist);
206 struct k_mem_paging_histogram_t *hist);
/Zephyr-latest/kernel/include/
Dkernel_internal.h261 void z_paging_histogram_inc(struct k_mem_paging_histogram_t *hist,