public class MeteringAgent
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
MeteringAgent.Context
Timer.Context with a specific operation.
|
| Constructor and Description |
|---|
MeteringAgent(java.lang.String primitiveName,
java.lang.String objName,
boolean activated)
Constructs a new MeteringAgent for a given distributed primitive.
|
| Modifier and Type | Method and Description |
|---|---|
MeteringAgent.Context |
startTimer(java.lang.String op)
Initializes a specific timer for a given operation.
|
public MeteringAgent(java.lang.String primitiveName,
java.lang.String objName,
boolean activated)
primitiveName - Type of primitive to be meteredobjName - Global name of the primitiveactivated - boolean flag for whether metering is enabled or notpublic MeteringAgent.Context startTimer(java.lang.String op)
op - Specific operation being metered