mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
36 lines
487 B
C++
36 lines
487 B
C++
// processinfo_none.cpp
|
|
|
|
#include "stdafx.h"
|
|
#include "processinfo.h"
|
|
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
#ifdef _WIN32
|
|
int getpid(){
|
|
return 0;
|
|
}
|
|
#endif
|
|
|
|
namespace mongo {
|
|
|
|
ProcessInfo::ProcessInfo( pid_t pid ){
|
|
}
|
|
|
|
ProcessInfo::~ProcessInfo(){
|
|
}
|
|
|
|
bool ProcessInfo::supported(){
|
|
return false;
|
|
}
|
|
|
|
int ProcessInfo::getVirtualMemorySize(){
|
|
return -1;
|
|
}
|
|
|
|
int ProcessInfo::getResidentSize(){
|
|
return -1;
|
|
}
|
|
|
|
}
|