Searched refs:cpuCoreCount (Results 1 – 1 of 1) sorted by relevance
33 int cpuCoreCount = 1; in GetCPUCoreCount() local35 cpuCoreCount = sysconf(_SC_NPROCESSORS_ONLN); in GetCPUCoreCount()38 cpuCoreCount = sysconf(_SC_NPROC_ONLN); in GetCPUCoreCount()40 if (cpuCoreCount < 1) { in GetCPUCoreCount()42 cpuCoreCount = 1; in GetCPUCoreCount()44 LOGV("Number of CPU cores: %d", cpuCoreCount); in GetCPUCoreCount()45 return cpuCoreCount; in GetCPUCoreCount()