lib/third_party/tracing/extras/importer/linux_perf/exynos_parser.js
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = /pipe=(\d+), fb=(\d+), state=(.*)/.exec(eventBase.details);
      if (!event)
        return false;

      var pipe = parseInt(event[1]);
      var fb = parseInt(event[2]);
      var state = event[3];

      this.exynosPageFlipStateCloseSlice(ts, pipe, fb,
          {
            pipe: pipe,
            fb: fb
          });
      if (state !== 'flipped')
        this.exynosPageFlipStateOpenSlice(ts, pipe, fb, state);
      return true;
    }
function(eventName, cpuNumber, pid, ts, eventBase) {
      var event = /pipe=(\d+), fb=(\d+), state=(.*)/.exec(eventBase.details);
      if (!event)
        return false;

      var pipe = parseInt(event[1]);
      var fb = parseInt(event[2]);
      var state = event[3];

      this.exynosPageFlipStateCloseSlice(ts, pipe, fb,
          {
            pipe: pipe,
            fb: fb
          });
      if (state !== 'flipped')
        this.exynosPageFlipStateOpenSlice(ts, pipe, fb, state);
      return true;
    }
function ( eventName , cpuNumber , pid , ts , eventBase ) { var event = / pipe=(\d+), fb=(\d+), state=(.*) / . exec ( eventBase . details ) ; if ( ! event ) return false ; var pipe = parseInt ( event [ 1 ] ) ; var fb = parseInt ( event [ 2 ] ) ; var state = event [ 3 ] ; this . exynosPageFlipStateCloseSlice ( ts , pipe , fb , { pipe : pipe , fb : fb } ) ; if ( state !== 'flipped' ) this . exynosPageFlipStateOpenSlice ( ts , pipe , fb , state ) ; return true ; }
Parses page_flip_state events and sets up state in the importer.
Parses page_flip_state events and sets up state in the importer .