Home | History | Annotate | Download | only in histograms

Lines Matching refs:Histogram

5 """Extract histogram names from the description XML file.
17 <histogram-configuration>
21 <histogram name="HistogramTime" units="milliseconds">
23 <details>This is a more thorough description of this histogram.</details>
24 </histogram>
26 <histogram name="HistogramEnum" enum="MyEnumType">
27 <summary>This histogram sports an enum value type.</summary>
28 </histogram>
48 <affected-histogram name="HistogramEnum"/>
53 </histogram-configuration>
119 """Creates a new histogram name based on a histogram suffix.
122 suffix_name: The suffix string to apply to the histogram name. May be empty.
123 histogram_name: The name of the histogram. May be of the form
128 A string with the expanded histogram name.
158 'Prefix Field Trial expansions require histogram names which include a '
159 'dot separator. Histogram name is %s, and Field Trial is %s',
234 """Extract all <histogram> nodes in the tree into a dictionary."""
240 for histogram in tree.getElementsByTagName('histogram'):
241 name = histogram.getAttribute('name')
248 logging.error('Duplicate histogram definition %s', name)
254 owners = _ExtractOwners(histogram)
259 summary_nodes = histogram.getElementsByTagName('summary')
267 obsolete_nodes = histogram.getElementsByTagName('obsolete')
273 if histogram.hasAttribute('units'):
274 histogram_entry['units'] = histogram.getAttribute('units')
277 details_nodes = histogram.getElementsByTagName('details')
283 if histogram.hasAttribute('enum'):
284 enum_name = histogram.getAttribute('enum')
286 logging.error('Unknown enum %s in histogram %s', enum_name, name)
339 'affected-histogram')
343 # Base histogram is missing
408 # If no owners are added for this histogram-suffixes, it inherits the
420 """Compute the histogram names and descriptions from the XML representation.
427 histogram names to dictionaries containing histogram descriptions and status
441 """Load histogram definitions from a disk file.
447 a dictionary of histogram descriptions.