tools/perf/cli_tools/pinpoint_cli/histograms_df.py
def IterRows(histogram_dicts):
  """Iterate over histogram dicts yielding rows for a DataFrame or csv."""
  histograms = histogram_set.HistogramSet()
  histograms.ImportDicts(histogram_dicts)
  for hist in histograms:
    row = [getattr(hist, name) for _, name in _PROPERTIES]
    row.extend(
        _DiagnosticValueToStr(hist.diagnostics.get(name))
        for _, name in _DIAGNOSTICS)
    yield tuple(row)
Iterate over histogram dicts yielding rows for a DataFrame or csv.
Iterate over histogram dicts yielding rows for a DataFrame or csv.
Iterate over histogram dicts yielding rows for a DataFrame or csv .
def IterRows(histogram_dicts):
  histograms = histogram_set.HistogramSet()
  histograms.ImportDicts(histogram_dicts)
  for hist in histograms:
    row = [getattr(hist, name) for _, name in _PROPERTIES]
    row.extend(
        _DiagnosticValueToStr(hist.diagnostics.get(name))
        for _, name in _DIAGNOSTICS)
    yield tuple(row)
def IterRows ( histogram_dicts ) : histograms = histogram_set . HistogramSet ( ) histograms . ImportDicts ( histogram_dicts ) for hist in histograms : row = [ getattr ( hist , name ) for _ , name in _PROPERTIES ] row . extend ( _DiagnosticValueToStr ( hist . diagnostics . get ( name ) ) for _ , name in _DIAGNOSTICS ) yield tuple ( row )
Iterate over histogram dicts yielding rows for a DataFrame or csv.
Iterate over histogram dicts yielding rows for a DataFrame or csv .
"""Iterate over histogram dicts yielding rows for a DataFrame or csv."""
histogram_dicts