com.caucho.util
Class CpuUsage

java.lang.Object
  |
  +--com.caucho.util.CpuUsage

public class CpuUsage
extends java.lang.Object


Method Summary
 void add(CpuUsage base, CpuUsage source)
           
 void clear()
           
 void copy(CpuUsage source)
           
static CpuUsage create()
           
 long getInterval()
           
 int getPid()
           
 long getSystemTime()
           
 long getTime()
           
 long getUserTime()
           
 void update(long now)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static CpuUsage create()

update

public void update(long now)

copy

public void copy(CpuUsage source)

clear

public void clear()

add

public void add(CpuUsage base,
                CpuUsage source)

getPid

public int getPid()

getTime

public long getTime()

getInterval

public long getInterval()

getUserTime

public long getUserTime()

getSystemTime

public long getSystemTime()