Searched refs:faults_before (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/kernel/mem_protect/demand_paging/ondemand_section/src/ |
D | main.c | 24 unsigned long faults_before, faults_after; in ZTEST() local 28 faults_before = k_mem_num_pagefaults_get(); in ZTEST() 31 zassert_not_equal(faults_before, faults_after, "should have faulted"); in ZTEST() 34 faults_before = k_mem_num_pagefaults_get(); in ZTEST() 37 zassert_equal(faults_before, faults_after, "should not have faulted"); in ZTEST() 43 faults_before = k_mem_num_pagefaults_get(); in ZTEST() 46 zassert_not_equal(faults_before, faults_after, "should have faulted"); in ZTEST() 56 faults_before = k_mem_num_pagefaults_get(); in ZTEST() 59 zassert_equal(faults_before, faults_after, "should not have faulted"); in ZTEST()
|
/Zephyr-latest/samples/subsys/demand_paging/src/ |
D | main.c | 49 unsigned long faults_before, faults_after; in main() local 53 faults_before = k_mem_num_pagefaults_get(); in main() 60 free_pages_before, free_pages_after, faults_after - faults_before); in main() 64 faults_before = k_mem_num_pagefaults_get(); in main() 71 free_pages_before, free_pages_after, faults_after - faults_before); in main()
|