blob: f303d491970f0199a7cd0677a1961d7b77e7a10c (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | #pragma once
#include "compat.h"
namespace NMemInfo {
    struct TMemInfo {
        ui64 RSS; // current RAM size of the process
        ui64 VMS; // current VM  size of the process
        TMemInfo()
            : RSS()
            , VMS()
        {
        }
    };
    TMemInfo GetMemInfo(pid_t = 0);
}
 |