MCPcopy Index your code
hub / github.com/nodejs/node / record

Method record

deps/v8/tools/avg.py:188–194  ·  view source on GitHub ↗
(self, key, value, unit)

Source from the content-addressed store, hash-verified

186 self.last_status_len = 0
187
188 def record(self, key, value, unit):
189 if not key:
190 key = self.default_key
191 if key not in self.all:
192 self.all[key] = Measurement(key, unit)
193 self.all[key].addValue(value)
194 self.max_widths.max_widths(self.all[key].widths())
195
196 def any(self):
197 if self.all:

Callers 4

mainFunction · 0.45
testFastMethodsFunction · 0.45
avg.pyFile · 0.45

Calls 4

MeasurementClass · 0.85
addValueMethod · 0.80
max_widthsMethod · 0.80
widthsMethod · 0.80

Tested by

no test coverage detected