git-svn-id: svn://db.shs.com.ru/pip@351 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -140,8 +140,8 @@ void PISystemMonitor::run() {
|
||||
stat.physical_memsize = stat.resident_memsize - stat.share_memsize;
|
||||
#else
|
||||
stat.ID = pID_;
|
||||
HMODULE hMod;
|
||||
DWORD cbNeeded;
|
||||
// HMODULE hMod;
|
||||
// DWORD cbNeeded;
|
||||
if (GetProcessMemoryInfo(hProc, &mem_cnt, sizeof(mem_cnt)) != 0) {
|
||||
stat.physical_memsize = mem_cnt.WorkingSetSize;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user