com.platform.ego.impl
Class RRUsage

java.lang.Object
  extended by com.platform.ego.impl.RRUsage

public class RRUsage
extends java.lang.Object

RRUsage specifies definition of runtime resource usage.

Version:
1.2.3

Constructor Summary
RRUsage()
           
 
Method Summary
 int getMem()
          Get total resident set size in kbytes of all running processes in activity
 int getNthreads()
          Get number of currently active threads in activity.
 PidInfo[] getPidInfo()
          Get array of currently active processes' information.
 int getStime()
          Get cumulative system time in seconds.
 int getSwap()
          Get total swap size in kbytes of all running processes in activity.
 int getUtime()
          Get cumulative user time in seconds.
 void setMem(int mem)
          Set total resident set size in kbytes of all running processes in activity.
 void setNthreads(int nthreads)
          Set number of currently active threads in activity.
 void setPidInfo(PidInfo[] pidInfo)
          Set array of currently active processes' information.
 void setStime(int stime)
          Set cumulative system time in seconds.
 void setSwap(int swap)
          Set total swap size in kbytes of all running processes in activity.
 void setUtime(int utime)
          Set cumulative user time in seconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RRUsage

public RRUsage()
Method Detail

getMem

public int getMem()
Get total resident set size in kbytes of all running processes in activity

Returns:
total resident set size in kbytes.

setMem

public void setMem(int mem)
Set total resident set size in kbytes of all running processes in activity.

Parameters:
mem - : specifies total resident set size in kbytes..

getNthreads

public int getNthreads()
Get number of currently active threads in activity.

Returns:
number of currently active threads.

setNthreads

public void setNthreads(int nthreads)
Set number of currently active threads in activity.

Parameters:
nthreads - : specifies number of currently active threads.

getStime

public int getStime()
Get cumulative system time in seconds.

Returns:
cumulative system time in seconds.

setStime

public void setStime(int stime)
Set cumulative system time in seconds.

Parameters:
stime - : specifies cumulative system time in seconds.

getSwap

public int getSwap()
Get total swap size in kbytes of all running processes in activity.

Returns:
total swap size in kbytes.

setSwap

public void setSwap(int swap)
Set total swap size in kbytes of all running processes in activity.

Parameters:
swap - : specifies total swap size.

getUtime

public int getUtime()
Get cumulative user time in seconds.

Returns:
cumulative user time in seconds.

setUtime

public void setUtime(int utime)
Set cumulative user time in seconds.

Parameters:
utime - : specifies cumulative user time.

getPidInfo

public PidInfo[] getPidInfo()
Get array of currently active processes' information.

Returns:
array of currently active processes' information.

setPidInfo

public void setPidInfo(PidInfo[] pidInfo)
Set array of currently active processes' information.

Parameters:
pidInfo - : specifies array of currently active processes' information.


Copyright (C) 1992-2007 Platform Computing Corporation