# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: profiler_event.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='profiler_event.proto',
  package='metrics',
  serialized_pb='\n\x14profiler_event.proto\x12\x07metrics\"\x93\t\n\x12ProfilerEventProto\x12\x43\n\x0fprofile_version\x18\x01 \x01(\x0e\x32*.metrics.ProfilerEventProto.ProfileVersion\x12;\n\x0btime_source\x18\x02 \x01(\x0e\x32&.metrics.ProfilerEventProto.TimeSource\x12\x45\n\x12past_session_event\x18\x04 \x03(\x0e\x32).metrics.ProfilerEventProto.ProfilerEvent\x12\x1a\n\x12profiling_start_ms\x18\x05 \x01(\x03\x12\x1b\n\x13profiling_finish_ms\x18\x06 \x01(\x03\x12\x41\n\x0etracked_object\x18\x03 \x03(\x0b\x32).metrics.ProfilerEventProto.TrackedObject\x1a\xeb\x04\n\rTrackedObject\x12\x1e\n\x16\x62irth_thread_name_hash\x18\x01 \x01(\x06\x12\x1d\n\x15\x65xec_thread_name_hash\x18\x02 \x01(\x06\x12\x1d\n\x15source_file_name_hash\x18\x03 \x01(\x06\x12!\n\x19source_function_name_hash\x18\x04 \x01(\x06\x12\x1a\n\x12source_line_number\x18\x05 \x01(\x05\x12\x12\n\nexec_count\x18\x06 \x01(\x05\x12\x17\n\x0f\x65xec_time_total\x18\x07 \x01(\x05\x12\x19\n\x11\x65xec_time_sampled\x18\x08 \x01(\x05\x12\x18\n\x10queue_time_total\x18\t \x01(\x05\x12\x1a\n\x12queue_time_sampled\x18\n \x01(\x05\x12K\n\x0cprocess_type\x18\x0b \x01(\x0e\x32\x35.metrics.ProfilerEventProto.TrackedObject.ProcessType\x12\x12\n\nprocess_id\x18\x0c \x01(\r\"\xdd\x01\n\x0bProcessType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x42ROWSER\x10\x01\x12\x0c\n\x08RENDERER\x10\x02\x12\n\n\x06PLUGIN\x10\x03\x12\n\n\x06WORKER\x10\x04\x12\x0f\n\x0bNACL_LOADER\x10\x05\x12\x0b\n\x07UTILITY\x10\x06\x12\x12\n\x0ePROFILE_IMPORT\x10\x07\x12\n\n\x06ZYGOTE\x10\x08\x12\x12\n\x0eSANDBOX_HELPER\x10\t\x12\x0f\n\x0bNACL_BROKER\x10\n\x12\x07\n\x03GPU\x10\x0b\x12\x10\n\x0cPPAPI_PLUGIN\x10\x0c\x12\x10\n\x0cPPAPI_BROKER\x10\r\"]\n\x0eProfileVersion\x12\x13\n\x0fVERSION_UNKNOWN\x10\x00\x12\x1b\n\x17VERSION_STARTUP_PROFILE\x10\x01\x12\x19\n\x15VERSION_SPLIT_PROFILE\x10\x02\":\n\nTimeSource\x12\x17\n\x13UNKNOWN_TIME_SOURCE\x10\x00\x12\x13\n\x0fWALL_CLOCK_TIME\x10\x01\"/\n\rProfilerEvent\x12\x1e\n\x1a\x45VENT_FIRST_NONEMPTY_PAINT\x10\x00\x42\x38\n\x1forg.chromium.components.metricsB\x13ProfilerEventProtosH\x03')



_PROFILEREVENTPROTO_TRACKEDOBJECT_PROCESSTYPE = _descriptor.EnumDescriptor(
  name='ProcessType',
  full_name='metrics.ProfilerEventProto.TrackedObject.ProcessType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='BROWSER', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='RENDERER', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PLUGIN', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WORKER', index=4, number=4,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='NACL_LOADER', index=5, number=5,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='UTILITY', index=6, number=6,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PROFILE_IMPORT', index=7, number=7,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='ZYGOTE', index=8, number=8,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SANDBOX_HELPER', index=9, number=9,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='NACL_BROKER', index=10, number=10,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='GPU', index=11, number=11,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PPAPI_PLUGIN', index=12, number=12,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PPAPI_BROKER', index=13, number=13,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=780,
  serialized_end=1001,
)

_PROFILEREVENTPROTO_PROFILEVERSION = _descriptor.EnumDescriptor(
  name='ProfileVersion',
  full_name='metrics.ProfilerEventProto.ProfileVersion',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='VERSION_UNKNOWN', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='VERSION_STARTUP_PROFILE', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='VERSION_SPLIT_PROFILE', index=2, number=2,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=1003,
  serialized_end=1096,
)

_PROFILEREVENTPROTO_TIMESOURCE = _descriptor.EnumDescriptor(
  name='TimeSource',
  full_name='metrics.ProfilerEventProto.TimeSource',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_TIME_SOURCE', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='WALL_CLOCK_TIME', index=1, number=1,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=1098,
  serialized_end=1156,
)

_PROFILEREVENTPROTO_PROFILEREVENT = _descriptor.EnumDescriptor(
  name='ProfilerEvent',
  full_name='metrics.ProfilerEventProto.ProfilerEvent',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='EVENT_FIRST_NONEMPTY_PAINT', index=0, number=0,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=1158,
  serialized_end=1205,
)


_PROFILEREVENTPROTO_TRACKEDOBJECT = _descriptor.Descriptor(
  name='TrackedObject',
  full_name='metrics.ProfilerEventProto.TrackedObject',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='birth_thread_name_hash', full_name='metrics.ProfilerEventProto.TrackedObject.birth_thread_name_hash', index=0,
      number=1, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='exec_thread_name_hash', full_name='metrics.ProfilerEventProto.TrackedObject.exec_thread_name_hash', index=1,
      number=2, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='source_file_name_hash', full_name='metrics.ProfilerEventProto.TrackedObject.source_file_name_hash', index=2,
      number=3, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='source_function_name_hash', full_name='metrics.ProfilerEventProto.TrackedObject.source_function_name_hash', index=3,
      number=4, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='source_line_number', full_name='metrics.ProfilerEventProto.TrackedObject.source_line_number', index=4,
      number=5, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='exec_count', full_name='metrics.ProfilerEventProto.TrackedObject.exec_count', index=5,
      number=6, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='exec_time_total', full_name='metrics.ProfilerEventProto.TrackedObject.exec_time_total', index=6,
      number=7, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='exec_time_sampled', full_name='metrics.ProfilerEventProto.TrackedObject.exec_time_sampled', index=7,
      number=8, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='queue_time_total', full_name='metrics.ProfilerEventProto.TrackedObject.queue_time_total', index=8,
      number=9, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='queue_time_sampled', full_name='metrics.ProfilerEventProto.TrackedObject.queue_time_sampled', index=9,
      number=10, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='process_type', full_name='metrics.ProfilerEventProto.TrackedObject.process_type', index=10,
      number=11, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='process_id', full_name='metrics.ProfilerEventProto.TrackedObject.process_id', index=11,
      number=12, type=13, cpp_type=3, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _PROFILEREVENTPROTO_TRACKEDOBJECT_PROCESSTYPE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=382,
  serialized_end=1001,
)

_PROFILEREVENTPROTO = _descriptor.Descriptor(
  name='ProfilerEventProto',
  full_name='metrics.ProfilerEventProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='profile_version', full_name='metrics.ProfilerEventProto.profile_version', index=0,
      number=1, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='time_source', full_name='metrics.ProfilerEventProto.time_source', index=1,
      number=2, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='past_session_event', full_name='metrics.ProfilerEventProto.past_session_event', index=2,
      number=4, type=14, cpp_type=8, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='profiling_start_ms', full_name='metrics.ProfilerEventProto.profiling_start_ms', index=3,
      number=5, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='profiling_finish_ms', full_name='metrics.ProfilerEventProto.profiling_finish_ms', index=4,
      number=6, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='tracked_object', full_name='metrics.ProfilerEventProto.tracked_object', index=5,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[_PROFILEREVENTPROTO_TRACKEDOBJECT, ],
  enum_types=[
    _PROFILEREVENTPROTO_PROFILEVERSION,
    _PROFILEREVENTPROTO_TIMESOURCE,
    _PROFILEREVENTPROTO_PROFILEREVENT,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=34,
  serialized_end=1205,
)

_PROFILEREVENTPROTO_TRACKEDOBJECT.fields_by_name['process_type'].enum_type = _PROFILEREVENTPROTO_TRACKEDOBJECT_PROCESSTYPE
_PROFILEREVENTPROTO_TRACKEDOBJECT.containing_type = _PROFILEREVENTPROTO;
_PROFILEREVENTPROTO_TRACKEDOBJECT_PROCESSTYPE.containing_type = _PROFILEREVENTPROTO_TRACKEDOBJECT;
_PROFILEREVENTPROTO.fields_by_name['profile_version'].enum_type = _PROFILEREVENTPROTO_PROFILEVERSION
_PROFILEREVENTPROTO.fields_by_name['time_source'].enum_type = _PROFILEREVENTPROTO_TIMESOURCE
_PROFILEREVENTPROTO.fields_by_name['past_session_event'].enum_type = _PROFILEREVENTPROTO_PROFILEREVENT
_PROFILEREVENTPROTO.fields_by_name['tracked_object'].message_type = _PROFILEREVENTPROTO_TRACKEDOBJECT
_PROFILEREVENTPROTO_PROFILEVERSION.containing_type = _PROFILEREVENTPROTO;
_PROFILEREVENTPROTO_TIMESOURCE.containing_type = _PROFILEREVENTPROTO;
_PROFILEREVENTPROTO_PROFILEREVENT.containing_type = _PROFILEREVENTPROTO;
DESCRIPTOR.message_types_by_name['ProfilerEventProto'] = _PROFILEREVENTPROTO

class ProfilerEventProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType

  class TrackedObject(_message.Message):
    __metaclass__ = _reflection.GeneratedProtocolMessageType
    DESCRIPTOR = _PROFILEREVENTPROTO_TRACKEDOBJECT

    # @@protoc_insertion_point(class_scope:metrics.ProfilerEventProto.TrackedObject)
  DESCRIPTOR = _PROFILEREVENTPROTO

  # @@protoc_insertion_point(class_scope:metrics.ProfilerEventProto)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), '\n\037org.chromium.components.metricsB\023ProfilerEventProtosH\003')
# @@protoc_insertion_point(module_scope)
