Home
last modified time | relevance | path

Searched refs:faults_after (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/kernel/mem_protect/demand_paging/ondemand_section/src/
Dmain.c24 unsigned long faults_before, faults_after; in ZTEST() local
30 faults_after = k_mem_num_pagefaults_get(); in ZTEST()
31 zassert_not_equal(faults_before, faults_after, "should have faulted"); in ZTEST()
36 faults_after = k_mem_num_pagefaults_get(); in ZTEST()
37 zassert_equal(faults_before, faults_after, "should not have faulted"); in ZTEST()
45 faults_after = k_mem_num_pagefaults_get(); in ZTEST()
46 zassert_not_equal(faults_before, faults_after, "should have faulted"); in ZTEST()
58 faults_after = 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/
Dmain.c49 unsigned long faults_before, faults_after; in main() local
58 faults_after = k_mem_num_pagefaults_get(); in main()
60 free_pages_before, free_pages_after, faults_after - faults_before); in main()
69 faults_after = k_mem_num_pagefaults_get(); in main()
71 free_pages_before, free_pages_after, faults_after - faults_before); in main()