Definition at line 27 of file ProcessInfo.h. References info(). Referenced by Impala::Process::ProcessInfo::MarkFrom(), and Impala::Process::ProcessInfo::MarkTo(). 00028 { 00029 Int64 usage = -1; 00030 #ifdef PSAPI_USED 00031 PROCESS_MEMORY_COUNTERS info; 00032 bool result = GetProcessMemoryInfo( 00033 GetCurrentProcess(), &info, sizeof(info)); 00034 usage = result ? info.WorkingSetSize : -2; 00035 #endif 00036 return usage; 00037 }
Here is the call graph for this function:
|