tools/cygprofile/cluster.py
def ClusterOffsets(profiles, processor, limit_cluster_size=False,
                   call_graph=False):
  """Cluster profile offsets.

  Args:
    profiles (ProfileManager) Manager of the profile dump files.
    processor (SymbolOffsetProcessor) Symbol table processor for the dumps.
    call_graph (bool) whether the call graph instrumentation was used.

  Returns:
    A list of clustered symbol offsets.
"""
  if not call_graph:
    return _ClusterOffsetsLists(profiles, processor, limit_cluster_size)
  else:
    return _ClusterOffsetsFromCallGraph(profiles, processor)
Cluster profile offsets.

  Args:
    profiles (ProfileManager) Manager of the profile dump files.
    processor (SymbolOffsetProcessor) Symbol table processor for the dumps.
    call_graph (bool) whether the call graph instrumentation was used.

  Returns:
    A list of clustered symbol offsets.

Cluster profile offsets.
Args:
profiles (ProfileManager) Manager of the profile dump files.
processor (SymbolOffsetProcessor) Symbol table processor for the dumps.
call_graph (bool) whether the call graph instrumentation was used.

A list of clustered symbol offsets.
Cluster profile offsets . Args : profiles ( ProfileManager ) Manager of the profile dump files . processor ( SymbolOffsetProcessor ) Symbol table processor for the dumps . call_graph ( bool ) whether the call graph instrumentation was used . A list of clustered symbol offsets .
def ClusterOffsets(profiles, processor, limit_cluster_size=False,
                   call_graph=False):
  if not call_graph:
    return _ClusterOffsetsLists(profiles, processor, limit_cluster_size)
  else:
    return _ClusterOffsetsFromCallGraph(profiles, processor)
def ClusterOffsets ( profiles , processor , limit_cluster_size = False , call_graph = False ) : if not call_graph : return _ClusterOffsetsLists ( profiles , processor , limit_cluster_size ) else : return _ClusterOffsetsFromCallGraph ( profiles , processor )
Cluster profile offsets.
Cluster profile offsets .
"""Cluster profile offsets.

  Args:
    profiles (ProfileManager) Manager of the profile dump files.
    processor (SymbolOffsetProcessor) Symbol table processor for the dumps.
    call_graph (bool) whether the call graph instrumentation was used.

  Returns:
    A list of clustered symbol offsets.
"""
profiles
processor
limit_cluster_size
call_graph