[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 11:05:24 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348885: [runtime] Use getloadavg() on NetBSD as well (authored by mgorny, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D55486?vs=177714&id=177741#toc

Repository:
  rL LLVM

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

https://reviews.llvm.org/D55486

Files:
  openmp/trunk/runtime/src/z_Linux_util.cpp


Index: openmp/trunk/runtime/src/z_Linux_util.cpp
===================================================================
--- openmp/trunk/runtime/src/z_Linux_util.cpp
+++ openmp/trunk/runtime/src/z_Linux_util.cpp
@@ -2065,7 +2065,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.177741.patch
Type: text/x-patch
Size: 448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20181211/64035927/attachment.bin>


More information about the Openmp-commits mailing list