Searched refs:sys_info (Results 1 – 7 of 7) sorted by relevance
81 system_info sys_info; in Init() local82 get_system_info(&sys_info); in Init()85 if (sys_info.cpu_count >= 2) { in Init()86 cpu_menu_items = new BMenuItem *[sys_info.cpu_count]; in Init()88 for (unsigned int x = 0; x < sys_info.cpu_count; x++) { in Init()117 system_info sys_info; in Update() local118 get_system_info(&sys_info); in Update()121 cpu_info* cpuInfos = new cpu_info[sys_info.cpu_count]; in Update()122 get_cpu_info(0, sys_info.cpu_count, cpuInfos); in Update()125 for (unsigned int x = 0; x < sys_info.cpu_count; x++) { in Update()[all …]
65 system_info sys_info; in Draw() local66 get_system_info(&sys_info); in Draw()67 if (sys_info.cpu_count <= 0) in Draw()76 float bar_width = (bounds.Width()) / sys_info.cpu_count - 2; in Draw()79 for (unsigned int x = 0; x < sys_info.cpu_count; x++) { in Draw()131 system_info sys_info; in AttachedToWindow() local132 get_system_info(&sys_info); in AttachedToWindow()133 if (sys_info.cpu_count >= 2) { in AttachedToWindow()134 for (unsigned int x = 0; x < sys_info.cpu_count; x++) in AttachedToWindow()
260 system_info sys_info; in LastEnabledCPU() local261 get_system_info(&sys_info); in LastEnabledCPU()262 if (sys_info.cpu_count == 1) in LastEnabledCPU()265 for (unsigned int x = 0; x < sys_info.cpu_count; x++) { in LastEnabledCPU()282 system_info sys_info; in GetMinimumViewWidth() local283 get_system_info(&sys_info); in GetMinimumViewWidth()284 return (sys_info.cpu_count * 2) + 1; in GetMinimumViewWidth()
102 system_info sys_info; in DetermineVendorAndProcessor() local103 get_system_info(&sys_info); in DetermineVendorAndProcessor()324 system_info sys_info; in AttachedToWindow() local325 get_system_info(&sys_info); in AttachedToWindow()326 if (sys_info.cpu_count >= 2) { in AttachedToWindow()327 for (unsigned int x = 0; x < sys_info.cpu_count; x++) in AttachedToWindow()338 system_info sys_info; in UpdateColors() local339 get_system_info(&sys_info); in UpdateColors()341 for (unsigned int x = 0; x < sys_info.cpu_count; x++) { in UpdateColors()
81 system_info sys_info; in AttachedToWindow() local82 get_system_info(&sys_info); in AttachedToWindow()83 if (sys_info.cpu_count >= 2) { in AttachedToWindow()84 for (unsigned int x = 0; x < sys_info.cpu_count; x++) in AttachedToWindow()
139 system_info sys_info; in GetNormalWindowHeight() local140 get_system_info(&sys_info); in GetNormalWindowHeight()143 + sys_info.cpu_count * ITEM_OFFSET; in GetNormalWindowHeight()
260 system_info sys_info; in _RunnerThread() local261 get_system_info(&sys_info); in _RunnerThread()262 snprintf(cpuCount, sizeof(cpuCount), "%" B_PRIu32, sys_info.cpu_count); in _RunnerThread()