- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for myTracedRegion (0.13 sec)
-
src/runtime/trace/annotation.go
// Within each goroutine, regions must nest. That is, regions started // after this region must be ended before this region can be ended. // Recommended usage is // // defer trace.StartRegion(ctx, "myTracedRegion").End() func StartRegion(ctx context.Context, regionType string) *Region { if !IsEnabled() { return noopRegion } id := fromContext(ctx).id userRegion(id, regionStartCode, regionType)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 20 00:47:09 UTC 2023 - 6.1K bytes - Viewed (0)