diff options
Diffstat (limited to 'src/mongo/util/processinfo_unknown.cpp')
-rw-r--r-- | src/mongo/util/processinfo_unknown.cpp | 63 |
1 files changed, 28 insertions, 35 deletions
diff --git a/src/mongo/util/processinfo_unknown.cpp b/src/mongo/util/processinfo_unknown.cpp index e39a422f909..8984012b13c 100644 --- a/src/mongo/util/processinfo_unknown.cpp +++ b/src/mongo/util/processinfo_unknown.cpp @@ -37,50 +37,43 @@ using namespace std; namespace mongo { - ProcessInfo::ProcessInfo( ProcessId pid ) { - } +ProcessInfo::ProcessInfo(ProcessId pid) {} - ProcessInfo::~ProcessInfo() { - } +ProcessInfo::~ProcessInfo() {} - bool ProcessInfo::supported() { - return false; - } - - int ProcessInfo::getVirtualMemorySize() { - return -1; - } - - int ProcessInfo::getResidentSize() { - return -1; - } +bool ProcessInfo::supported() { + return false; +} - double ProcessInfo::getSystemMemoryPressurePercentage() { - return 0.0; - } +int ProcessInfo::getVirtualMemorySize() { + return -1; +} - bool ProcessInfo::checkNumaEnabled() { - return false; - } +int ProcessInfo::getResidentSize() { + return -1; +} - bool ProcessInfo::blockCheckSupported() { - return false; - } +double ProcessInfo::getSystemMemoryPressurePercentage() { + return 0.0; +} - void ProcessInfo::SystemInfo::collectSystemInfo() { +bool ProcessInfo::checkNumaEnabled() { + return false; +} - } +bool ProcessInfo::blockCheckSupported() { + return false; +} - void ProcessInfo::getExtraInfo( BSONObjBuilder& info ) { - - } +void ProcessInfo::SystemInfo::collectSystemInfo() {} - bool ProcessInfo::blockInMemory(const void* start) { - verify(0); - } +void ProcessInfo::getExtraInfo(BSONObjBuilder& info) {} - bool ProcessInfo::pagesInMemory(const void* start, size_t numPages, vector<char>* out) { - verify(0); - } +bool ProcessInfo::blockInMemory(const void* start) { + verify(0); +} +bool ProcessInfo::pagesInMemory(const void* start, size_t numPages, vector<char>* out) { + verify(0); +} } |