Lines Matching refs:info
69 system_info info;
70 status_t status = get_system_info(&info);
72 fprintf(stderr, "%s: cannot get system info: %s\n", kProgramName,
77 printf("max memory:\t\t%" B_PRIu64 "\n", info.max_pages * B_PAGE_SIZE);
78 printf("free memory:\t\t%" B_PRIu64 "\n", info.free_memory);
79 printf("needed memory:\t\t%" B_PRIu64 "\n", info.needed_memory);
81 info.block_cache_pages * B_PAGE_SIZE);
83 info.max_swap_pages * B_PAGE_SIZE);
85 info.free_swap_pages * B_PAGE_SIZE);
86 printf("page faults:\t\t%" B_PRIu32 "\n", info.page_faults);
90 system_info lastInfo = info;
95 get_system_info(&info);
97 int32 pageFaults = info.page_faults - lastInfo.page_faults;
99 = (info.max_pages * B_PAGE_SIZE - info.free_memory)
102 = ((info.max_swap_pages - info.free_swap_pages)
106 = (info.block_cache_pages - lastInfo.block_cache_pages)
111 lastInfo = info;