public class PamProfiler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
PamProfiler.CPUUsageSnapshot |
Modifier and Type | Method and Description |
---|---|
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() |
public static PamProfiler getInstance()
public PamProfiler.CPUUsageSnapshot makeCPUUsageSnapshot()
public static double getProcessCPUUsage(PamProfiler.CPUUsageSnapshot start, PamProfiler.CPUUsageSnapshot end)
public static double getProcessCPUUsage(PamProfiler.CPUUsageSnapshot start, PamProfiler.CPUUsageSnapshot end, long lastTime)