lib/third_party/tracing/model/model_indices.js
function ModelIndices(model) {
    // For now the only indices we construct are for flowEvents
    this.flowEventsById_ = {};
    model.flowEvents.forEach(function(fe) {
      if (fe.id !== undefined) {
        if (!this.flowEventsById_.hasOwnProperty(fe.id)) {
          this.flowEventsById_[fe.id] = new Array();
        }
        this.flowEventsById_[fe.id].push(fe);
      }
    }, this);
  }
function ModelIndices(model) {
    // For now the only indices we construct are for flowEvents
    this.flowEventsById_ = {};
    model.flowEvents.forEach(function(fe) {
      if (fe.id !== undefined) {
        if (!this.flowEventsById_.hasOwnProperty(fe.id)) {
          this.flowEventsById_[fe.id] = new Array();
        }
        this.flowEventsById_[fe.id].push(fe);
      }
    }, this);
  }
function ModelIndices ( model ) { // For now the only indices we construct are for flowEvents this . flowEventsById_ = { } ; model . flowEvents . forEach ( function ( fe ) { if ( fe . id !== undefined ) { if ( ! this . flowEventsById_ . hasOwnProperty ( fe . id ) ) { this . flowEventsById_ [ fe . id ] = new Array ( ) ; } this . flowEventsById_ [ fe . id ] . push ( fe ) ; } } , this ) ; }
A Event Index maps an id to all the events that have that particular id

@constructor
A Event Index maps an id to all the events that have that particular id