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

Method RefreshCounters

deps/v8/tools/stats-viewer.py:175–178  ·  view source on GitHub ↗

Tear down and rebuild the controls in the main window.

(self)

Source from the content-addressed store, hash-verified

173 self.root.after(UPDATE_INTERVAL_MS, lambda: self.UpdateCounters())
174
175 def RefreshCounters(self):
176 """Tear down and rebuild the controls in the main window."""
177 counters = self.ComputeCounters()
178 self.RebuildMainWindow(counters)
179
180 def ComputeCounters(self):
181 """Group the counters by the suffix of their name.

Callers 2

UpdateCountersMethod · 0.95
OpenWindowMethod · 0.95

Calls 2

ComputeCountersMethod · 0.95
RebuildMainWindowMethod · 0.95

Tested by

no test coverage detected