Searched refs:ws_usage (Results 1 – 3 of 3) sorted by relevance
194 WorkingSetKBytes ws_usage; in GetMemoryBytes() local195 if (!GetWorkingSetKBytes(&ws_usage)) in GetMemoryBytes()199 *private_bytes = ws_usage.priv * 1024; in GetMemoryBytes()202 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()207 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const { in GetWorkingSetKBytes()209 if (GetWorkingSetKBytesTotmaps(ws_usage)) in GetWorkingSetKBytes()212 return GetWorkingSetKBytesStatm(ws_usage); in GetWorkingSetKBytes()327 bool ProcessMetrics::GetWorkingSetKBytesTotmaps(WorkingSetKBytes *ws_usage) in GetWorkingSetKBytesTotmaps()378 ws_usage->priv = private_clean + private_dirty + swap; in GetWorkingSetKBytesTotmaps()379 ws_usage->shared = pss + swap; in GetWorkingSetKBytesTotmaps()[all …]
228 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const { in GetWorkingSetKBytes()230 return GetCommittedAndWorkingSetKBytes(&unused, ws_usage); in GetWorkingSetKBytes()235 WorkingSetKBytes* ws_usage) const { in GetCommittedAndWorkingSetKBytes()244 ws_usage->priv = task_info_data.resident_size / 1024; in GetCommittedAndWorkingSetKBytes()245 ws_usage->shareable = 0; in GetCommittedAndWorkingSetKBytes()246 ws_usage->shared = 0; in GetCommittedAndWorkingSetKBytes()
146 bool GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const;153 WorkingSetKBytes* ws_usage) const;194 bool GetWorkingSetKBytesStatm(WorkingSetKBytes* ws_usage) const;198 bool GetWorkingSetKBytesTotmaps(WorkingSetKBytes *ws_usage) const;