b2bb21da8d
Change the AT_All_XXX to AT_ALL_XXX. Change the name of the from_prot and to_prot parameters to be more descriptive. Add a few extra large page sizes. Without this, it jumps from a relatively small size to an extreme large size and nothing in between. Clang-format modified the args_shorthand initialization. Test: Ran benchmarks on device. Change-Id: I5105788cbf05793fcb4d86c26037ec435635631e
120 lines
2.9 KiB
XML
120 lines
2.9 KiB
XML
<!-- mmap tests -->
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_rw</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_noreserve</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_none</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_rw_fixed</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_none_fixed</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_rd_priv</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_rw_shared</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_rw_priv_fixed_start</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_rw_priv_fixed_mid</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_rw_priv_fixed_end</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_mmap_only</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_munmap_only</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
|
|
<!-- madvise tests -->
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_madvise_dontneed</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_madvise_pageout</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_madvise_free</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_MULTI_PAGE_SIZES</args>
|
|
</fn>
|
|
|
|
<!-- mprotect tests -->
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_mprotect_rw_to_rd</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_mprotect_rw_to_none</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_anon_mprotect_rd_to_none</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_mprotect_rw_to_rd</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_mprotect_rw_to_none</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_mprotect_none_to_rw</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_mprotect_none_to_rd</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|
|
<fn>
|
|
<name>BM_syscall_mmap_file_mprotect_rd_to_none</name>
|
|
<iterations>10</iterations>
|
|
<args>AT_ALL_PAGE_SIZES</args>
|
|
</fn>
|