MCPcopy
hub / github.com/github/github-mcp-server / Start

Function Start

internal/profiler/profiler.go:210–215  ·  view source on GitHub ↗

Start begins timing using the global profiler

(ctx context.Context, operation string)

Source from the content-addressed store, hash-verified

208
209// Start begins timing using the global profiler
210func Start(ctx context.Context, operation string) func(int, int64) *Profile {
211 if globalProfiler == nil {
212 return func(int, int64) *Profile { return nil }
213 }
214 return globalProfiler.Start(ctx, operation)
215}

Callers

nothing calls this directly

Calls 1

StartMethod · 0.80

Tested by

no test coverage detected