public class RuntimeStatClient extends Object
| Constructor and Description |
|---|
RuntimeStatClient() |
| Modifier and Type | Method and Description |
|---|---|
static void |
closeStatisticsTask()
CLOSETASK to close statistics.
|
protected void |
doSomething(int iterations,
SampleThreadStatistics threadStats) |
static double |
getMeanCpuActive(long startTime,
long endTime)
Returns the average CPU used on the local host during the specified time interval.
|
static void |
getMeanCpuActiveTask()
TASK to get the average CPU.
|
static void |
openStatisticsTask()
INITTASK to create and register statistics.
|
static void |
readStatisticsUsingSpecStringTask()
ENDTASK to read statistics using a statistics specification string.
|
static void |
readStatisticsUsingStatInstanceTask()
CLOSETASK to read statistics using a statistics instance.
|
protected void |
workWithStatistics() |
static void |
workWithStatisticsTask()
TASK to modify per-thread statistics.
|
public static void openStatisticsTask()
public static void workWithStatisticsTask()
protected void workWithStatistics()
protected void doSomething(int iterations,
SampleThreadStatistics threadStats)
public static void readStatisticsUsingStatInstanceTask()
public static void closeStatisticsTask()
public static void readStatisticsUsingSpecStringTask()
public static void getMeanCpuActiveTask()
public static double getMeanCpuActive(long startTime,
long endTime)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.