Searched refs:page_size_kb (Results 1 – 2 of 2) sorted by relevance
341 const int page_size_kb = getpagesize() / 1024; in GetWorkingSetKBytesStatm() local342 if (page_size_kb <= 0) in GetWorkingSetKBytesStatm()365 ws_usage->priv = (statm_rss - statm_shared) * page_size_kb; in GetWorkingSetKBytesStatm()366 ws_usage->shared = statm_shared * page_size_kb; in GetWorkingSetKBytesStatm()
393 int page_size_kb = sysconf(_SC_PAGE_SIZE) / 1024; in GetWorkingSetKBytes() local394 if (page_size_kb <= 0) in GetWorkingSetKBytes()415 private_kb = (statm1 - statm2) * page_size_kb; in GetWorkingSetKBytes()