Home
last modified time | relevance | path

Searched refs:counter_name (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
Dmap_job_context.py50 def incr(self, counter_name, delta=1): argument
57 self._state.counters_map.increment(counter_name, delta)
59 def counter(self, counter_name, default=0): argument
69 return self._state.counters_map.get(counter_name, default)
98 def incr(self, counter_name, delta=1): argument
100 self.shard_context.incr(counter_name, delta)
102 def counter(self, counter_name, default=0): argument
104 return self.shard_context.counter(counter_name, default)
Dmodel.py251 def get(self, counter_name, default=0): argument
261 return self.counters.get(counter_name, default)
263 def increment(self, counter_name, delta): argument
273 current_value = self.counters.get(counter_name, 0)
275 self.counters[counter_name] = new_value
287 for counter_name in counters_map.counters:
288 self.increment(counter_name, counters_map.counters[counter_name])
299 for counter_name in counters_map.counters:
300 self.increment(counter_name, -counters_map.counters[counter_name])
Dcontext.py358 def increment(self, counter_name, delta=1): argument
365 self._shard_state.counters_map.increment(counter_name, delta)
/external/libchrome/base/trace_event/
Dprocess_memory_maps_dump_provider.cc78 char counter_name[20]; in ParseSmapsCounter() local
79 int did_read = sscanf(counter_line, "%19[^\n ]", counter_name); in ParseSmapsCounter()
82 if (strcmp(counter_name, "Pss:") == 0) { in ParseSmapsCounter()
84 } else if (strcmp(counter_name, "Private_Dirty:") == 0) { in ParseSmapsCounter()
86 } else if (strcmp(counter_name, "Private_Clean:") == 0) { in ParseSmapsCounter()
88 } else if (strcmp(counter_name, "Shared_Dirty:") == 0) { in ParseSmapsCounter()
90 } else if (strcmp(counter_name, "Shared_Clean:") == 0) { in ParseSmapsCounter()
92 } else if (strcmp(counter_name, "Swap:") == 0) { in ParseSmapsCounter()
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/operation/
Dcounters.py33 def __init__(self, counter_name, delta=1): argument
40 self.counter_name = counter_name
49 context._counters.increment(self.counter_name, self.delta)
/external/v8/tools/
Dstats-viewer.py229 for counter_name in sorted_groups:
230 counter_objs = groups[counter_name]
231 if self.name_filter.match(counter_name):
233 text=counter_name)
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/api/map_job/
Dmap_job_control.py85 def get_counter(self, counter_name, default=0): argument
98 return self._state.counters_map.get(counter_name, default)