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

Function plot_all

deps/v8/tools/gc-nvp-trace-processor.py:184–194  ·  view source on GitHub ↗
(plots, trace, prefix)

Source from the content-addressed store, hash-verified

182 return '\n'.join(script)
183
184def plot_all(plots, trace, prefix):
185 charts = []
186
187 for plot in plots:
188 outfilename = "%s_%d.png" % (prefix, len(charts))
189 charts.append(outfilename)
190 script = generate_script_and_datafile(plot, trace, '~datafile', outfilename)
191 print('Plotting %s...' % outfilename)
192 gnuplot(script)
193
194 return charts
195
196def reclaimed_bytes(row):
197 return row['total_size_before'] - row['total_size_after']

Callers 1

process_traceFunction · 0.85

Calls 4

gnuplotFunction · 0.85
printFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…