lib/third_party/tracing/extras/importer/linux_perf/regulator_parser.js
function RegulatorParser(importer) {
    Parser.call(this, importer);

    importer.registerEventHandler('regulator_enable',
        RegulatorParser.prototype.regulatorEnableEvent.bind(this));
    importer.registerEventHandler('regulator_enable_delay',
        RegulatorParser.prototype.regulatorEnableDelayEvent.bind(this));
    importer.registerEventHandler('regulator_enable_complete',
        RegulatorParser.prototype.regulatorEnableCompleteEvent.bind(this));
    importer.registerEventHandler('regulator_disable',
        RegulatorParser.prototype.regulatorDisableEvent.bind(this));
    importer.registerEventHandler('regulator_disable_complete',
        RegulatorParser.prototype.regulatorDisableCompleteEvent.bind(this));
    importer.registerEventHandler('regulator_set_voltage',
        RegulatorParser.prototype.regulatorSetVoltageEvent.bind(this));
    importer.registerEventHandler('regulator_set_voltage_complete',
        RegulatorParser.prototype.regulatorSetVoltageCompleteEvent.bind(this));

    this.model_ = importer.model_;
  }
function RegulatorParser(importer) {
    Parser.call(this, importer);

    importer.registerEventHandler('regulator_enable',
        RegulatorParser.prototype.regulatorEnableEvent.bind(this));
    importer.registerEventHandler('regulator_enable_delay',
        RegulatorParser.prototype.regulatorEnableDelayEvent.bind(this));
    importer.registerEventHandler('regulator_enable_complete',
        RegulatorParser.prototype.regulatorEnableCompleteEvent.bind(this));
    importer.registerEventHandler('regulator_disable',
        RegulatorParser.prototype.regulatorDisableEvent.bind(this));
    importer.registerEventHandler('regulator_disable_complete',
        RegulatorParser.prototype.regulatorDisableCompleteEvent.bind(this));
    importer.registerEventHandler('regulator_set_voltage',
        RegulatorParser.prototype.regulatorSetVoltageEvent.bind(this));
    importer.registerEventHandler('regulator_set_voltage_complete',
        RegulatorParser.prototype.regulatorSetVoltageCompleteEvent.bind(this));

    this.model_ = importer.model_;
  }
function RegulatorParser ( importer ) { Parser . call ( this , importer ) ; importer . registerEventHandler ( 'regulator_enable' , RegulatorParser . prototype . regulatorEnableEvent . bind ( this ) ) ; importer . registerEventHandler ( 'regulator_enable_delay' , RegulatorParser . prototype . regulatorEnableDelayEvent . bind ( this ) ) ; importer . registerEventHandler ( 'regulator_enable_complete' , RegulatorParser . prototype . regulatorEnableCompleteEvent . bind ( this ) ) ; importer . registerEventHandler ( 'regulator_disable' , RegulatorParser . prototype . regulatorDisableEvent . bind ( this ) ) ; importer . registerEventHandler ( 'regulator_disable_complete' , RegulatorParser . prototype . regulatorDisableCompleteEvent . bind ( this ) ) ; importer . registerEventHandler ( 'regulator_set_voltage' , RegulatorParser . prototype . regulatorSetVoltageEvent . bind ( this ) ) ; importer . registerEventHandler ( 'regulator_set_voltage_complete' , RegulatorParser . prototype . regulatorSetVoltageCompleteEvent . bind ( this ) ) ; this . model_ = importer . model_ ; }
Parses linux regulator trace events.
@constructor
Parses linux regulator trace events .