PamModel
Class PamProfiler

java.lang.Object
  extended by PamModel.PamProfiler

public class PamProfiler
extends java.lang.Object


Nested Class Summary
 class PamProfiler.CPUUsageSnapshot
           
 
Field Summary
(package private)  boolean loadFailed
           
(package private) static PamProfiler pamProfiler
           
private static java.lang.String SILIB
           
private static java.lang.String SILIB2
           
 
Constructor Summary
private PamProfiler()
           
 
Method Summary
static PamProfiler getInstance()
           
static double getProcessCPUUsage(PamProfiler.CPUUsageSnapshot start, PamProfiler.CPUUsageSnapshot end)
           
static double getProcessCPUUsage(PamProfiler.CPUUsageSnapshot start, PamProfiler.CPUUsageSnapshot end, long lastTime)
           
 PamProfiler.CPUUsageSnapshot makeCPUUsageSnapshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loadFailed

boolean loadFailed

pamProfiler

static PamProfiler pamProfiler

SILIB

private static final java.lang.String SILIB
See Also:
Constant Field Values

SILIB2

private static final java.lang.String SILIB2
See Also:
Constant Field Values
Constructor Detail

PamProfiler

private PamProfiler()
Method Detail

getInstance

public static PamProfiler getInstance()

makeCPUUsageSnapshot

public PamProfiler.CPUUsageSnapshot makeCPUUsageSnapshot()

getProcessCPUUsage

public static double getProcessCPUUsage(PamProfiler.CPUUsageSnapshot start,
                                        PamProfiler.CPUUsageSnapshot end)

getProcessCPUUsage

public static double getProcessCPUUsage(PamProfiler.CPUUsageSnapshot start,
                                        PamProfiler.CPUUsageSnapshot end,
                                        long lastTime)