commit | ee8460486f7cc304295883f08f5c273dbe1f48f1 | [log] [tgz] |
---|---|---|
author | Michal Gorny <mgorny@gentoo.org> | Tue Dec 11 19:02:09 2018 +0000 |
committer | Michal Gorny <mgorny@gentoo.org> | Tue Dec 11 19:02:09 2018 +0000 |
tree | 22275b373106a8947249b494901349e8fb928d95 | |
parent | 67d037d373792a37fae0df856ffb4699f8c4b3e5 [diff] |
[runtime] Use getloadavg() on NetBSD as well Switch NetBSD from reading /proc (which is broken) to getloadavg() (which is already used by Darwin). NetBSD discourages using procfs in favor of system API calls. Differential Revision: https://reviews.llvm.org/D55486 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@348885 91177308-0d34-0410-b5e6-96231b3b80d8