Class LensPerformanceMeasurement

Represents an ongoing measurement of rendering metrics.

An instance of this class is obtained by calling beginMeasurement. Then it may be used to record rendering performance metrics, reset measurement, or end the measurement.

Hierarchy

  • LensPerformanceMeasurement

Constructors

Methods

Constructors

Methods

  • Reset the measured perforamance statistics (averages, std deviations). This is equivalent to using beginMeasurement to create a new LensPerformanceMeasurement instance, but may be more convenient.

    Returns void

  • Stop measuring performance statistics.

    This instance will not be garbage collected until this method is called. Therefore it is important to call this method at the appropriate time to avoid leaking memory -- particularly if your application creates many LensPerformanceMeasurement instances.

    Returns void

Generated using TypeDoc