|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IStatisticsManager interface provides access to statistical counters for users of
ICustomCode2
.
Statistical counters are stored in a hierarchy of counters. Periodically, all counter values in the tree are
reported to the performance testing workbench and collected into performance test run results
where they are available for use in reports and graphs. Each counter in the tree has a type.
See StatType
. The operations that are available on a counter
depend on the counter's type.
Field Summary | |
---|---|
static int |
ALL
Reports all statistical counters. |
static int |
NONE
Reports no statistics. |
static int |
PRIMARY_COUNTERS
Reports a moderate number of statistical counters. |
Method Summary | |
---|---|
int |
getLevel()
Returns the current level of statistics verbosity. |
IStatTree |
getStatTree()
Returns the root of the statistical counter tree. |
boolean |
wouldReport(int level)
Determines if the current execution will report statistics at a given level. |
Field Detail |
public static final int NONE
Used for internal testing purposes only.
public static final int PRIMARY_COUNTERS
(HTTP) Reports statistics related to pages but not to individual requests.
ALL
public static final int ALL
(HTTP) Reports statistics related to individual HTTP requests.
PRIMARY_COUNTERS
Method Detail |
public int getLevel()
public boolean wouldReport(int level)
Returns true if a statistics counter of the given statisticsLevel should be created. This method evaluates the statistics level and whether the calling virtual user is being sampled.
level
- The level of the proposed counter.
public IStatTree getStatTree()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |