Set different options for a measure or measure group. You can enable or disable raw measure data or time series data collection. In addition, you can enable and configure the generation of quantile data, and you can enable real-time data collection so that you can see the measures in Performance Explorer during a test in real-time.
Kernel.bdh
MeasureSetOption( in sName : string, in eClass : number, in eOption : number, in uValue : union): boolean;
true if successful
false otherwise
Parameter | Description |
---|---|
sName | Measure name that identifies the measure. When this parameter is set to NULL or "", the option is set for all measures of the provided measure type. |
eClass | Specifies the type of measure type.
|
eOption | Specifies the option which a value is set for.
|
uValue |
The value related to the selected option. See the description of the eOption parameter for valid values. |
dcltrans transaction TMain var fValue : float; begin MeasureSetOption("Measure1", MEASURE_PAGE_PAGETIME, MEASURE_OPT_REALTIME, true); MeasureSetOption("", MEASURE_PAGE_PAGETIME, MEASURE_OPT_RAWDATA, true); MeasureSetOption("", MEASURE_ALL, MEASURE_OPT_TIMESERIES, false); MeasureSetOption("Measure1", MEASURE_COUNTER_CUSTOMCOUNTER, MEASURE_OPT_PERCENTILES, true); MeasureSetOption("Measure1", MEASURE_COUNTER_CUSTOMCOUNTER, MEASURE_OPT_PERCENTILES_GRANULARITY, OPT_PERCENTILES_GRANULARITY_1_PER_MIL); end TMain;