Home
last modified time | relevance | path

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

/system/extras/tests/pagingtest/
Dthrashing_test.c21 long num_pages; in thrashing_test() local
26 num_pages = sysconf(_SC_PHYS_PAGES); in thrashing_test()
28 if (num_pages < 0) { in thrashing_test()
33 filesize = num_pages * pagesize / (ARRAY_SIZE(fds) - 1); in thrashing_test()
/system/extras/pagecache/
Dpagecache.py54 def pages_to_mb(self, num_pages): argument
55 return "%.2f" % round(num_pages * PAGE_SIZE / 1024.0 / 1024.0, 2)
60 def print_pages_and_mb(self, num_pages): argument
61 pages_string = str(num_pages) + ' (' + str(self.pages_to_mb(num_pages)) + ' MB)'
/system/extras/ksmutils/
Dksminfo.c42 size_t num_pages; member
298 vaddr - (cur_page->vaddr[cur_page->vaddr_len - 1].num_pages * in read_pages()
300 cur_page->vaddr[cur_page->vaddr_len - 1].num_pages++; in read_pages()
316 cur_page->vaddr[cur_page->vaddr_len].num_pages = 1; in read_pages()
375 kp->pages[i].vaddr[j].num_pages); in print_pages()
/system/extras/procmem/
Dprocmem.c57 uint64_t *pagemap; size_t num_pages; in main() local
183 error = pm_map_pagemap(mi->map, &pagemap, &num_pages); in main()
192 for (j = 0; j < num_pages; j++) { in main()