Start begins timing using the global profiler
(ctx context.Context, operation string)
| 208 | |
| 209 | // Start begins timing using the global profiler |
| 210 | func 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 | } |