diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-03-31 15:41:01 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-04-03 11:06:07 -0400 |
commit | fe358a4fd67fc48188eb062ae026001ff74082e9 (patch) | |
tree | 9d21950a36f870c44e15667b5000bc10e8ea2d62 /src/mongo/util/processinfo_osx.cpp | |
parent | 8c2598812fe6c553783edbba4bc5d16a44a1b4d9 (diff) | |
download | mongo-fe358a4fd67fc48188eb062ae026001ff74082e9.tar.gz |
SERVER-17745: Improve dirty page estimation in mmapv1 on Windows
Diffstat (limited to 'src/mongo/util/processinfo_osx.cpp')
-rw-r--r-- | src/mongo/util/processinfo_osx.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/util/processinfo_osx.cpp b/src/mongo/util/processinfo_osx.cpp index a88aadbbd34..994b4759e81 100644 --- a/src/mongo/util/processinfo_osx.cpp +++ b/src/mongo/util/processinfo_osx.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; |