Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

IXYXSimpleDecimationFunction

IXYXSimpleDecimationFunction: function

This function is created by a user to do a user defined decimation. Note that the function is called once per x pixel on the screen. Also it is guaranteed that the inputValues will be in the same order as they are in the original array, so runnings statistical values can be stored in the function if really needed.

yValueToCoord will map the yValue to an actual pixel. The larger the output of yValueToCoord, the smaller the actual value is aka there is an inverse relationship between yValueToCoord output and the actual Y value.

Type declaration

    • (inputValues: IBuffer<IXYValue>, startIdx: number, endIdx: number, yValueToCoord: function, xValueToCoord: function, xStart: number, xEnd: number): IXYValue[]
    • Parameters

      • inputValues: IBuffer<IXYValue>
      • startIdx: number
      • endIdx: number
      • yValueToCoord: function
          • (value: any): number
          • Parameters

            • value: any

            Returns number

      • xValueToCoord: function
          • (value: any): number
          • Parameters

            • value: any

            Returns number

      • xStart: number
      • xEnd: number

      Returns IXYValue[]

Variables

Let InternalDecimatorMap

InternalDecimatorMap: object

Type declaration

Let decimatorList

decimatorList: (MinPointDecimator | AvgPointDecimator | MaxPointDecimator | XYPointDecimator | AvgContinuousDecimator | SummedValueMultiXYSeriesDecimator | SummedValueXYSeriesDecimator | NEWSPointDecimator | NEWSStateDecimator | FlameChartRectLimitDecimator | FlameChartMergeRectDecimator | TraceResidencyDecimator | SimpleMarkerDecimator)[] = [new ResidencyDecimator(), new MinPointDecimator(),new AvgPointDecimator(), new MaxPointDecimator(), new AvgContinuousDecimator(),new FlameChartMergeRectDecimator(), new FlameChartRectLimitDecimator(),new NEWSPointDecimator(), new NEWSStateDecimator(), new SimpleMarkerDecimator(),new XYPointDecimator(), new SummedValueXYSeriesDecimator(),new SummedValueMultiXYSeriesDecimator(), new TraceResidencyDecimator()]

findFirstInsertionIdx

findFirstInsertionIdx: function = bisectBuffer(function (xy: { x: any }) { return xy.x }).left

Type declaration

    • (buffer: IBuffer<object>, x: number): number
    • Parameters

      • buffer: IBuffer<object>
      • x: number

      Returns number

findLastInsertionIdx

findLastInsertionIdx: function = bisectBuffer(function (xy: { x: any }) { return xy.x }).right

Type declaration

    • (buffer: IBuffer<object>, x: number): number
    • Parameters

      • buffer: IBuffer<object>
      • x: number

      Returns number

Functions

computeAvg

sumMultiXYSeriesValues

  • sumMultiXYSeriesValues(_xValueToCoord: function, _xCoordToValue: function, _yValueToCoord: function, xStart: number, xEnd: number, values: IBuffer<IXYValue>[]): any[][]
  • this is a helper function class that computes the summed values for each Y state per each X bucket

    Parameters

    • _xValueToCoord: function
        • (value: any): number
        • Parameters

          • value: any

          Returns number

    • _xCoordToValue: function
        • (value: any): number
        • Parameters

          • value: any

          Returns number

    • _yValueToCoord: function
        • (value: any): number
        • Parameters

          • value: any

          Returns number

    • xStart: number
    • xEnd: number
    • values: IBuffer<IXYValue>[]

    Returns any[][]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc