summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemInformation.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-06-04 13:22:53 (GMT)
committerBrad King <brad.king@kitware.com>2015-06-04 13:22:53 (GMT)
commitbccbe281ff7039e145814d1858a45f38bb681173 (patch)
tree94938b5be6f21e7fa64e54772b371cfe458cb1e7 /Source/kwsys/SystemInformation.hxx.in
parent0886880e3b8e5510f861b2e573b311c16db9d657 (diff)
parent6cafd8ed0bc8458ba2c6eb0e792c894cf4f37f90 (diff)
downloadCMake-bccbe281ff7039e145814d1858a45f38bb681173.zip
CMake-bccbe281ff7039e145814d1858a45f38bb681173.tar.gz
CMake-bccbe281ff7039e145814d1858a45f38bb681173.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/SystemInformation.hxx.in')
-rw-r--r--Source/kwsys/SystemInformation.hxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/SystemInformation.hxx.in b/Source/kwsys/SystemInformation.hxx.in
index a9fd05d..4acdc4f 100644
--- a/Source/kwsys/SystemInformation.hxx.in
+++ b/Source/kwsys/SystemInformation.hxx.in
@@ -130,6 +130,10 @@ public:
// Get system RAM used by this process id in units of KiB.
LongLong GetProcMemoryUsed();
+ // Return the load average of the machine or -0.0 if it cannot
+ // be determined.
+ double GetLoadAverage();
+
// enable/disable stack trace signal handler. In order to
// produce an informative stack trace the application should
// be dynamically linked and compiled with debug symbols.