Lines Matching refs:stat
59 # Dictionary of stat visitor factories populated by the _url_factory
126 fatal("Illegal stat visitor parameter specified")
140 Text stat files contain one stat per line with an optional
145 * desc (bool): Output stat descriptions (default: True)
159 the multiple benefits over traditional text stat files:
161 * Efficient storage of time series (multiple stat dumps)
169 * Large startup cost (single stat dump larger than text equivalent)
180 * desc (bool): Output stat descriptions (default: True)
191 """Add a stat visitor specified using a URL string
214 fatal("Illegal stat file type '%s' specified." % parsed.scheme)
222 """List available stat visitors and their documentation"""
251 for stat in g.getStats():
252 visitor(g, stat)
289 def check_stat(group, stat):
290 if not stat.check() or not stat.baseCheck():
292 "by a regStats() function\n", stat.name, stat.id)
294 if not (stat.flags & flags.display):
295 stat.name = "__Stat%06d" % stat.id
298 # Legacy stat
302 for stat in stats_list:
303 check_stat(None, stat)
306 for stat in stats_list:
307 stats_dict[stat.name] = stat
308 stat.enable()
322 for stat in stats_list:
323 stat.prepare()
331 for stat in stats_list:
332 stat.visit(visitor)
336 for stat in group.getStats():
337 stat.visit(visitor)
363 # Don't allow multiple global stat dumps in the same tick. It's
388 for stat in stats_list:
389 stat.reset()