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

Function PrintHelp

deps/v8/tools/memory/rss.py:13–21  ·  view source on GitHub ↗
(returncode)

Source from the content-addressed store, hash-verified

11
12
13def PrintHelp(returncode):
14 print(f"""Usage: {sys.argv[0]} [--interval I] [--freq F] [--] COMMAND
15
16Runs COMMAND, and samples its RSS memory usage every I milliseconds (or F \
17times per second).
18Default sample interval is {kDefaultSamplerateSecs * 1000} ms.
19'--' as argument forces all further arguments to be part of COMMAND.
20""")
21 sys.exit(returncode)
22
23
24def Main():

Callers 1

MainFunction · 0.70

Calls 2

printFunction · 0.50
exitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…