git-svn-id: svn://db.shs.com.ru/pip@351 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-14 10:56:50 +00:00
parent 7f67db8c44
commit 861ce422c4
5 changed files with 11 additions and 48 deletions

View File

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