0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/util/processinfo_none.cpp

36 lines
487 B
C++
Raw Normal View History

// processinfo_none.cpp
2009-02-23 15:50:45 +01:00
#include "stdafx.h"
#include "processinfo.h"
#include <iostream>
using namespace std;
2009-02-20 21:23:14 +01:00
#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;
}
}