summaryrefslogtreecommitdiff
path: root/src/mongo/util/processinfo_darwin.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-03-31 15:41:01 -0400
committerRamon Fernandez <ramon.fernandez@mongodb.com>2015-04-17 11:32:05 -0400
commitcbdaff1efd3c0ba1450da45cf7ac0c6dabf62518 (patch)
tree41db23a10c8826bfcfef8a619ced4d414ae76380 /src/mongo/util/processinfo_darwin.cpp
parent437125df84156433d08ba70821a981dea8b6c36e (diff)
downloadmongo-cbdaff1efd3c0ba1450da45cf7ac0c6dabf62518.tar.gz
SERVER-17745: Improve dirty page estimation in mmapv1 on Windows
(cherry picked from commit fe358a4fd67fc48188eb062ae026001ff74082e9)
Diffstat (limited to 'src/mongo/util/processinfo_darwin.cpp')
-rw-r--r--src/mongo/util/processinfo_darwin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/util/processinfo_darwin.cpp b/src/mongo/util/processinfo_darwin.cpp
index a88aadbbd34..994b4759e81 100644
--- a/src/mongo/util/processinfo_darwin.cpp
+++ b/src/mongo/util/processinfo_darwin.cpp
@@ -109,6 +109,10 @@ namespace mongo {
return (int)( ti.resident_size / (1024 * 1024 ) );
}
+ double ProcessInfo::getSystemMemoryPressurePercentage() {
+ return 0.0;
+ }
+
void ProcessInfo::getExtraInfo(BSONObjBuilder& info) {
struct task_events_info taskInfo;
mach_msg_type_number_t taskInfoCount = TASK_EVENTS_INFO_COUNT;