| 46 | } |
| 47 | |
| 48 | size_t ProcessInfo::GetPrivateBytes() |
| 49 | { |
| 50 | PROCESS_MEMORY_COUNTERS_EX memoryCounters; |
| 51 | GetProcessMemoryInfo(GetCurrentProcess(), reinterpret_cast<PROCESS_MEMORY_COUNTERS*>(&memoryCounters), sizeof(memoryCounters)); |
| 52 | return memoryCounters.PrivateUsage; |
| 53 | } |
| 54 | |
| 55 | std::wstring ProcessInfo::GetProcessName(HANDLE handle) |
| 56 | { |
nothing calls this directly
no outgoing calls
no test coverage detected