lib/third_party/tracing/model/model.js
function() {
      var categoriesDict = {};
      this.device.addCategoriesToDict(categoriesDict);
      this.kernel.addCategoriesToDict(categoriesDict);
      for (var pid in this.processes)
        this.processes[pid].addCategoriesToDict(categoriesDict);

      this.categories = [];
      for (var category in categoriesDict)
        if (category != '')
          this.categories.push(category);
    }
function() {
      var categoriesDict = {};
      this.device.addCategoriesToDict(categoriesDict);
      this.kernel.addCategoriesToDict(categoriesDict);
      for (var pid in this.processes)
        this.processes[pid].addCategoriesToDict(categoriesDict);

      this.categories = [];
      for (var category in categoriesDict)
        if (category != '')
          this.categories.push(category);
    }
function ( ) { var categoriesDict = { } ; this . device . addCategoriesToDict ( categoriesDict ) ; this . kernel . addCategoriesToDict ( categoriesDict ) ; for ( var pid in this . processes ) this . processes [ pid ] . addCategoriesToDict ( categoriesDict ) ; this . categories = [ ] ; for ( var category in categoriesDict ) if ( category != '' ) this . categories . push ( category ) ; }
Generates the set of categories from the slices and counters.
Generates the set of categories from the slices and counters .