Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ctb2 (0.03 sec)

  1. src/internal/trace/testdata/testprog/annotations-stress.go

    	}
    	t1.End()
    
    	// Create a task that starts during the trace and ends after.
    	ctx2, t2 := trace.NewTask(ctx0, "type2")
    
    	// Create a task that starts and ends during the trace.
    	ctx3, t3 := trace.NewTask(baseCtx, "type3")
    
    	// Generate some events.
    	for i := 0; i < 2; i++ {
    		do(baseCtx, 4)
    		do(ctx0, 2)
    		do(ctx1, 3)
    		do(ctx2, 6)
    		do(ctx3, 5)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top