tools/cygprofile/process_profiles.py
def GetAnnotatedOffsets(self):
    """Merges offsets across run groups and annotates each one.

    Returns:
      [AnnotatedOffset]
    """
    offset_map = {}  # offset int -> AnnotatedOffset
    for g in self._GetRunGroups():
      for f in g:
        phase = self._Phase(f)
        process = self._ProcessName(f)
        for offset in self._ReadOffsets(f):
          offset_map.setdefault(offset, self.AnnotatedOffset(offset)).Increment(
              phase, process)
    return offset_map.values()
Merges offsets across run groups and annotates each one.

    Returns:
      [AnnotatedOffset]
    
Merges offsets across run groups and annotates each one.
Merges offsets across run groups and annotates each one .
def GetAnnotatedOffsets(self):
    offset_map = {}  
    for g in self._GetRunGroups():
      for f in g:
        phase = self._Phase(f)
        process = self._ProcessName(f)
        for offset in self._ReadOffsets(f):
          offset_map.setdefault(offset, self.AnnotatedOffset(offset)).Increment(
              phase, process)
    return offset_map.values()
def GetAnnotatedOffsets ( self ) : offset_map = { } for g in self . _GetRunGroups ( ) : for f in g : phase = self . _Phase ( f ) process = self . _ProcessName ( f ) for offset in self . _ReadOffsets ( f ) : offset_map . setdefault ( offset , self . AnnotatedOffset ( offset ) ) . Increment ( phase , process ) return offset_map . values ( )
Merges offsets across run groups and annotates each one.
Merges offsets across run groups and annotates each one .
"""Merges offsets across run groups and annotates each one.

    Returns:
      [AnnotatedOffset]
    """ # offset int -> AnnotatedOffset
None
self