Searched refs:phys_pages (Results 1 - 2 of 2) sorted by relevance

/macosx-10.9.5/system_cmds-597.90.1/memory_pressure.tproj/
H A Dmemory_pressure.c42 unsigned int phys_pages = 0; /* number of physical memory pages */ variable
371 pages_to_process = (desired_percent * phys_pages) / 100;
407 pages_to_process = ((stabilized_percentage - current_percent) * phys_pages) / 100;
491 pages_to_process = ((current_percent - desired_percent) * phys_pages) / 100;
494 pages_to_process = ((desired_percent - current_percent) * phys_pages) / 100;
624 phys_pages = (unsigned int) (phys_mem / PAGE_SIZE);
626 printf("The system has %ld (%d pages with a page size of %d).\n", phys_mem, phys_pages, PAGE_SIZE);
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/memory_pressure.tproj/
H A Dmemory_pressure.c42 unsigned int phys_pages = 0; /* number of physical memory pages */ variable
371 pages_to_process = (desired_percent * phys_pages) / 100;
407 pages_to_process = ((stabilized_percentage - current_percent) * phys_pages) / 100;
491 pages_to_process = ((current_percent - desired_percent) * phys_pages) / 100;
494 pages_to_process = ((desired_percent - current_percent) * phys_pages) / 100;
624 phys_pages = (unsigned int) (phys_mem / PAGE_SIZE);
626 printf("The system has %ld (%d pages with a page size of %d).\n", phys_mem, phys_pages, PAGE_SIZE);

Completed in 126 milliseconds