deprecating ProcMem.getVsize, ProcMem.getSize will be the same on all.
deprecating ProcMem.getRss, ProcMem.getResident will be the same on all.
This commit is contained in:
1 parent
d69dc1c8c9
commit
5e2271ca59
8 files changed
+26
-29
No files matched your search
@@ -237,17 +237,12 @@ my %classes = (
|
||||
ProcMem => [
|
||||
{
|
||||
name => 'size', type => 'Long',
|
||||
desc => 'Total process memory',
|
||||
plat => 'AFHLSW'
|
||||
},
|
||||
{
|
||||
name => 'vsize', type => 'Long',
|
||||
desc => 'Total process virtual memory',
|
||||
plat => 'AFHLSW'
|
||||
plat => '*'
|
||||
},
|
||||
{
|
||||
name => 'resident', type => 'Long',
|
||||
desc => 'Total process non-swapped memory',
|
||||
desc => 'Total process resident memory',
|
||||
plat => '*'
|
||||
},
|
||||
{
|
||||
@@ -255,11 +250,6 @@ my %classes = (
|
||||
desc => 'Total process shared memory',
|
||||
plat => 'AHLS'
|
||||
},
|
||||
{
|
||||
name => 'rss', type => 'Long',
|
||||
desc => 'Process resident set size',
|
||||
plat => '*'
|
||||
},
|
||||
{
|
||||
name => 'minor_faults', type => 'Long',
|
||||
desc => 'non i/o page faults',
|
||||
@@ -1202,6 +1192,18 @@ EOF
|
||||
public static final char STOP = 'T';
|
||||
public static final char ZOMBIE = 'Z';
|
||||
public static final char IDLE = 'D';
|
||||
EOF
|
||||
ProcMem => <<'EOF',
|
||||
/**
|
||||
* @deprecated
|
||||
* @see getResident
|
||||
*/
|
||||
public long getRss() { return getResident(); }
|
||||
/**
|
||||
* @deprecated
|
||||
* @see getSize
|
||||
*/
|
||||
public long getVsize() { return getSize(); }
|
||||
EOF
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user