Show / Hide Table of Contents

    Class Timing

    Used to capture timings for a specific metric. I.E.

    • Round trip time
    • Request completion time
    Inheritance
    System.Object
    Metric
    Timing
    Namespace:Phobos.Monitoring.Metrics
    Assembly:Phobos.Monitoring.dll
    Syntax
    public sealed class Timing : Metric, IMetric

    Methods

    Record(Int64)

    Record the elapsed time of an operation.

    Declaration
    public void Record(long timeMs)
    Parameters
    Type Name Description
    System.Int64 timeMs

    The total amount of time in milliseconds the operation took.

    Record(TimeSpan)

    Record the elapsed time of an operation.

    Declaration
    public void Record(TimeSpan timeSpan)
    Parameters
    Type Name Description
    System.TimeSpan timeSpan

    The total amount of time the operation took.

    Back to top Copyright © 2015-2018 Petabridge®