Searched refs:g_num_cores (Results 1 – 1 of 1) sorted by relevance
1497 static uint32_t g_num_cores = UINT32_MAX; in GetNumberCPUS() local1498 if (g_num_cores == UINT32_MAX) in GetNumberCPUS()1502 g_num_cores = ::sysconf(_SC_NPROCESSORS_ONLN); in GetNumberCPUS()1509 g_num_cores = system_info.dwNumberOfProcessors; in GetNumberCPUS()1514 g_num_cores = 0; in GetNumberCPUS()1526 g_num_cores = num_cores; in GetNumberCPUS()1535 g_num_cores = num_cores; in GetNumberCPUS()1540 return g_num_cores; in GetNumberCPUS()