[Openmp-commits] [PATCH] D55486: [openmp] [runtime] Use getloadavg() on NetBSD as well

Michał Górny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 11 07:54:27 PST 2018


mgorny updated this revision to Diff 177714.
mgorny retitled this revision from "[openmp] [runtime] Remove wrong assertion about /proc/1 being first file" to "[openmp] [runtime] Use getloadavg() on NetBSD as well".
mgorny edited the summary of this revision.
mgorny added a comment.

@krytarowski, updated as requested. FTR, this branch is using different rules for load-balancing apparently.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55486/new/

https://reviews.llvm.org/D55486

Files:
  runtime/src/z_Linux_util.cpp


Index: runtime/src/z_Linux_util.cpp
===================================================================
--- runtime/src/z_Linux_util.cpp
+++ runtime/src/z_Linux_util.cpp
@@ -2032,7 +2032,7 @@
 
 #ifdef USE_LOAD_BALANCE
 
-#if KMP_OS_DARWIN
+#if KMP_OS_DARWIN || KMP_OS_NETBSD
 
 // The function returns the rounded value of the system load average
 // during given time interval which depends on the value of


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55486.177714.patch
Type: text/x-patch
Size: 409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181211/2bf2c673/attachment.bin>


More information about the Openmp-commits mailing list