blob: be2615d928dba1fe1143b572eef4125094f70a52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
// 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;
}
}
|