Searched refs:systemInfo (Results 1 - 13 of 13) sorted by relevance

/haiku/src/tools/fs_shell/
H A Dsem.cpp17 copy_sem_info(fssh_sem_info* info, const sem_info* systemInfo) argument
19 info->sem = systemInfo->sem;
20 info->team = systemInfo->team;
21 strcpy(info->name, systemInfo->name);
22 info->count = systemInfo->count;
23 info->latest_holder = systemInfo->latest_holder;
93 sem_info systemInfo; local
94 status_t result = get_sem_info(id, &systemInfo);
98 copy_sem_info(info, &systemInfo);
108 sem_info systemInfo; local
[all...]
/haiku/src/system/libroot/os/
H A Dsystem_info.cpp74 system_info systemInfo; local
75 status_t error = _kern_get_system_info(&systemInfo);
80 error = _kern_get_cpu_info(0, std::min(systemInfo.cpu_count, uint32(8)),
85 info->boot_time = systemInfo.boot_time;
86 info->cpu_count = std::min(systemInfo.cpu_count, uint32(8));
118 info->max_pages = std::min(systemInfo.max_pages, uint64(INT32_MAX));
119 info->used_pages = std::min(systemInfo.used_pages, uint64(INT32_MAX));
120 info->cached_pages = std::min(systemInfo.cached_pages, uint64(INT32_MAX));
121 info->ignored_pages = std::min(systemInfo.ignored_pages, uint64(INT32_MAX));
122 info->page_faults = std::min(systemInfo
[all...]
/haiku/src/system/libroot/posix/sys/
H A Duname.c25 system_info systemInfo; local
36 get_system_info(&systemInfo);
45 strlcat(info->version, systemInfo.kernel_build_date, sizeof(info->version));
47 strlcat(info->version, systemInfo.kernel_build_time, sizeof(info->version));
49 systemInfo.kernel_version);
/haiku/src/bin/
H A Dps.c131 system_info systemInfo; local
226 get_system_info(&systemInfo);
229 (systemInfo.max_pages * B_PAGE_SIZE / 1024),
230 (systemInfo.max_pages * B_PAGE_SIZE));
232 (systemInfo.used_pages * B_PAGE_SIZE / 1024),
233 (systemInfo.used_pages * B_PAGE_SIZE));
235 (systemInfo.max_pages - systemInfo.used_pages) * B_PAGE_SIZE / 1024,
236 (systemInfo.max_pages - systemInfo
[all...]
/haiku/src/apps/processcontroller/
H A DKernelMemoryBarMenuItem.h14 KernelMemoryBarMenuItem(system_info& systemInfo);
H A DMemoryBarMenu.h25 MemoryBarMenu(const char* name, info_pack* infos, system_info& systemInfo);
H A DKernelMemoryBarMenuItem.cpp22 KernelMemoryBarMenuItem::KernelMemoryBarMenuItem(system_info& systemInfo) argument
28 fPhysicalMemory = (int64)systemInfo.max_pages * B_PAGE_SIZE / 1024LL;
29 fCommittedMemory = (int64)systemInfo.used_pages * B_PAGE_SIZE / 1024LL;
30 fCachedMemory = (int64)systemInfo.cached_pages * B_PAGE_SIZE / 1024LL;
H A DMemoryBarMenu.cpp25 MemoryBarMenu::MemoryBarMenu(const char* name, info_pack* infos, system_info& systemInfo) argument
29 fTeamCount = systemInfo.used_teams + EXTRA;
35 for (k = 0; k < systemInfo.used_teams; k++) {
50 AddItem(new KernelMemoryBarMenuItem(systemInfo));
H A DProcessController.cpp760 system_info systemInfo; local
761 get_system_info(&systemInfo);
762 info_pack* infos = new info_pack[systemInfo.used_teams];
764 for (m = 0, mcookie = 0; m < systemInfo.used_teams; m++) {
777 systemInfo.used_teams = m;
787 infos, systemInfo.used_teams);
793 infos, systemInfo);
794 int64 committedMemory = (int64)systemInfo.used_pages * B_PAGE_SIZE / 1024;
795 for (m = 0; m < systemInfo.used_teams; m++) {
809 "usage"), infos, systemInfo
[all...]
H A DUtilities.cpp47 system_info systemInfo; local
48 get_system_info(&systemInfo);
51 kernelPath.Append(systemInfo.kernel_name);
/haiku/src/apps/pulse/
H A DNormalPulseView.cpp58 system_info systemInfo; local
59 get_system_info(&systemInfo);
60 fCpuCount = systemInfo.cpu_count;
/haiku/src/apps/debugger/user_interface/gui/teams_window/
H A DTeamsListView.cpp236 system_info systemInfo; local
237 get_system_info(&systemInfo);
241 kernelPath.Append(systemInfo.kernel_name);
/haiku/src/servers/app/drawing/Painter/
H A DPainter.cpp133 system_info systemInfo; local
134 if (get_system_info(&systemInfo) != B_OK)
141 for (uint32 cpu = 0; cpu < systemInfo.cpu_count; cpu++) {

Completed in 112 milliseconds