MCPcopy Create free account
hub / github.com/google/pprof / setContext

Method setContext

browsertests/testdata/testfixture.js:19–21  ·  view source on GitHub ↗
(name, ...args)

Source from the content-addressed store, hash-verified

17 // setContext arranges to add name(args) to all messages added
18 // until the next setContext or run call.
19 setContext(name, ...args) {
20 this.context = name + "(" + args.join(",") + ")";
21 }
22
23 log(...args) {
24 this.result.push(["LOG", this.context, ...args]);

Callers 2

checkCallsFunction · 0.80
checkWidthFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected