Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Data Namespace / IEventMetricSample Interface / ComputeValue Method
The previous baseline sample to calculate a difference for
The definition of the value from this event metric to trend.

In This Topic
    ComputeValue Method (IEventMetricSample)
    In This Topic
    Compute the resultant value for this sample compared with the provided baseline sample.
    Syntax

    Parameters

    baselineSample
    The previous baseline sample to calculate a difference for
    trendValue
    The definition of the value from this event metric to trend.

    Return Value

    The calculated counter value
    Remarks

    The baseline sample must be for a date and time prior to this sample for correct results.

    If the supplied trendValue isn't trendable, the number of samples with a non-null value will be counted.

    If the supplied trendValue is trendable, the Default Trend (average or sum) will be calculated for all samples between the supplied baseline sample and this sample, inclusive.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also