Searched refs:GetSysctl (Results 1 – 1 of 1) sorted by relevance
179 bool GetSysctl(std::string const& Name, std::string* Out) { in GetSysctl() function189 bool GetSysctl(std::string const& Name, Tp* Out) { in GetSysctl() function198 bool GetSysctl(std::string const& Name, std::array<Tp, N>* Out) { in GetSysctl() function298 GetSysctl("hw.cacheconfig", &CacheCounts); in GetCacheSizesMacOSX()311 if (!GetSysctl(C.name, &val)) continue; in GetCacheSizesMacOSX()460 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs()628 if (GetSysctl(FreqStr, &hz)) return hz * 1000000; in GetCPUCyclesPerSecond()630 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()