0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00
mongodb/util/processinfo_none.cpp
2009-02-23 09:50:45 -05:00

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;
}
}