Lines Matching refs:counter

31 """A cross-platform execution counter viewer.
51 # Mapping from counter prefix to the formatting to be used for the counter
68 name_filter: The regexp filter to apply to counter names.
77 # A mapping from counter names to the ui element that displays
81 # The counter collection used to access the counters file
103 print "\"%s\" is neither a counter file nor a PID." % self.data_name
113 print "Can't find counter file in maps for PID %s." % self.data_name
147 counter = self.data.Counter(i)
148 name = counter.Name()
150 value = counter.Value()
180 Since the same code-level counter (for instance "X") can result in
192 counter = self.data.Counter(i)
193 name = counter.Name()
194 names[name] = counter
205 counter = names[name]
210 groups[name].append(counter)
237 counter = counter_objs[i]
238 name = counter.Name()
245 # If we know how to interpret the prefix of this counter then
253 ui_counter.Set(counter.Value())
269 """A counter in the ui."""
272 """Creates a new ui counter.
276 format: the format string used to format this counter
283 """Updates the ui for this counter.
328 """A pointer to a single counter withing a binary counters file."""
334 data: the shared data access object containing the counter
335 offset: the byte offset of the start of this counter
341 """Return the integer value of this counter."""
345 """Return the ascii name of this counter."""
375 """Return the index'th counter."""
379 """Return the size of a single counter."""
384 """A pointer to a single counter withing a binary counters file."""
390 data: the shared data access object containing the counter
391 name_offset: the byte offset of the start of this counter's name
392 value_offset: the byte offset of the start of this counter's value
399 """Return the integer value of this counter."""
403 """Return the ascii name of this counter."""
445 """Return the i'th counter."""
452 """Run the stats counter.
456 name_filter: The regexp filter to apply to counter names.
466 help=("regexp filter for counter names "