Searched refs:GetSysctl (Results 1 – 2 of 2) sorted by relevance
/external/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 144 bool GetSysctl(std::string const& Name, std::string* Out) { in GetSysctl() function 154 bool GetSysctl(std::string const& Name, Tp* Out) { in GetSysctl() function 163 bool GetSysctl(std::string const& Name, std::array<Tp, N>* Out) { in GetSysctl() function 258 GetSysctl("hw.cacheconfig", &CacheCounts); in GetCacheSizesMacOSX() 271 if (!GetSysctl(C.name, &val)) continue; in GetCacheSizesMacOSX() 345 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs() 480 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()
|
/external/google-benchmark/src/ |
D | sysinfo.cc | 144 bool GetSysctl(std::string const& Name, std::string* Out) { in GetSysctl() function 154 bool GetSysctl(std::string const& Name, Tp* Out) { in GetSysctl() function 163 bool GetSysctl(std::string const& Name, std::array<Tp, N>* Out) { in GetSysctl() function 258 GetSysctl("hw.cacheconfig", &CacheCounts); in GetCacheSizesMacOSX() 271 if (!GetSysctl(C.name, &val)) continue; in GetCacheSizesMacOSX() 345 if (GetSysctl("hw.ncpu", &NumCPU)) return NumCPU; in GetNumCPUs() 480 if (GetSysctl(FreqStr, &hz)) return hz; in GetCPUCyclesPerSecond()
|