lib/third_party/tracing/extras/chrome/cc/input_latency_async_slice.js
function(event, flowEvents) {
      if (event.outFlowEvents === undefined ||
          event.outFlowEvents.length === 0)
        return false;

      // Once we fix the bug of flow event binding, there should exist one and
      // only one outgoing flow (PostTask) from ScheduleBeginImplFrameDeadline
      // and PostComposite.
      var flow = event.outFlowEvents[0];

      if (flow.category !== POSTTASK_FLOW_EVENT ||
          !flow.endSlice)
        return false;

      var endSlice = flow.endSlice;
      if (this.belongToOtherInputs(endSlice.mostTopLevelSlice, flowEvents))
        return true;

      return false;
    }
function(event, flowEvents) {
      if (event.outFlowEvents === undefined ||
          event.outFlowEvents.length === 0)
        return false;

      // Once we fix the bug of flow event binding, there should exist one and
      // only one outgoing flow (PostTask) from ScheduleBeginImplFrameDeadline
      // and PostComposite.
      var flow = event.outFlowEvents[0];

      if (flow.category !== POSTTASK_FLOW_EVENT ||
          !flow.endSlice)
        return false;

      var endSlice = flow.endSlice;
      if (this.belongToOtherInputs(endSlice.mostTopLevelSlice, flowEvents))
        return true;

      return false;
    }
function ( event , flowEvents ) { if ( event . outFlowEvents === undefined || event . outFlowEvents . length === 0 ) return false ; // Once we fix the bug of flow event binding, there should exist one and // only one outgoing flow (PostTask) from ScheduleBeginImplFrameDeadline // and PostComposite. var flow = event . outFlowEvents [ 0 ] ; if ( flow . category !== POSTTASK_FLOW_EVENT || ! flow . endSlice ) return false ; var endSlice = flow . endSlice ; if ( this . belongToOtherInputs ( endSlice . mostTopLevelSlice , flowEvents ) ) return true ; return false ; }
Return true if |event| triggers slices of other inputs.
Return true if |event| triggers slices of other inputs .