tools/perf/page_sets/system_health/system_health_stories.py
def IterAllSystemHealthStoryClasses():
  """Generator for system health stories.

  Yields:
    All appropriate SystemHealthStory subclasses defining stories.
  """
  start_dir = os.path.dirname(os.path.abspath(__file__))
  # Sort the classes by their names so that their order is stable and
  # deterministic.
  for unused_cls_name, cls in sorted(discover.DiscoverClasses(
      start_dir=start_dir,
      top_level_dir=os.path.dirname(start_dir),
      base_class=system_health_story.SystemHealthStory).items()):
    yield cls
Generator for system health stories.

  Yields:
    All appropriate SystemHealthStory subclasses defining stories.
  
Generator for system health stories.
Generator for system health stories .
def IterAllSystemHealthStoryClasses():
  start_dir = os.path.dirname(os.path.abspath(__file__))
  for unused_cls_name, cls in sorted(discover.DiscoverClasses(
      start_dir=start_dir,
      top_level_dir=os.path.dirname(start_dir),
      base_class=system_health_story.SystemHealthStory).items()):
    yield cls
def IterAllSystemHealthStoryClasses ( ) : start_dir = os . path . dirname ( os . path . abspath ( __file__ ) ) for unused_cls_name , cls in sorted ( discover . DiscoverClasses ( start_dir = start_dir , top_level_dir = os . path . dirname ( start_dir ) , base_class = system_health_story . SystemHealthStory ) . items ( ) ) : yield cls
Generator for system health stories.
Generator for system health stories .
"""Generator for system health stories.

  Yields:
    All appropriate SystemHealthStory subclasses defining stories.
  """ # Sort the classes by their names so that their order is stable and # deterministic.
All appropriate SystemHealthStory subclasses defining stories.
All appropriate SystemHealthStory subclasses defining stories .