Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for TaskID (0.14 sec)

  1. src/cmd/trace/jsontrace.go

    			taskid, err := strconv.ParseUint(taskids, 10, 64)
    			if err != nil {
    				log.Printf("failed to parse taskid parameter %q: %v", taskids, err)
    				return
    			}
    			task, ok := parsed.summary.Tasks[trace.TaskID(taskid)]
    			if !ok {
    				log.Printf("failed to find task with id %d", taskid)
    				return
    			}
    			// This mode is goroutine-oriented.
    			opts.mode = traceviewer.ModeGoroutineOriented
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/internal/trace/summary_test.go

    	type task struct {
    		name       string
    		parent     *trace.TaskID
    		children   []trace.TaskID
    		logs       []trace.Log
    		goroutines []trace.GoID
    	}
    	parent := func(id trace.TaskID) *trace.TaskID {
    		p := new(trace.TaskID)
    		*p = id
    		return p
    	}
    	wantTasks := map[trace.TaskID]task{
    		trace.BackgroundTask: {
    			// The background task (0) is never any task's parent.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-task-across-generations.go

    	b1 := g1.Batch(trace.ThreadID(0), 0)
    	b1.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b1.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b1.Event("UserTaskBegin", trace.TaskID(2), trace.TaskID(0) /* 0 means no parent, not background */, "my task", testgen.NoStack)
    
    	g2 := t.Generation(2)
    
    	// That same goroutine emits a task end in the following generation.
    	b2 := g2.Batch(trace.ThreadID(0), 5)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/internal/trace/trace_test.go

    			kind trace.EventKind
    			task trace.TaskID
    			args []string
    		}
    		want := []evDesc{
    			{trace.EventTaskBegin, trace.TaskID(1), []string{"task0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region0"}},
    			{trace.EventRegionBegin, trace.TaskID(1), []string{"region1"}},
    			{trace.EventLog, trace.TaskID(1), []string{"key0", "0123456789abcdef"}},
    			{trace.EventRegionEnd, trace.TaskID(1), []string{"region1"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskRealizationBuildOperationIntegrationTest.groovy

            def uniqueId = Iterables.getOnlyElement(realizeOps*.details*.taskId as Set)
    
            when:
            configurationCacheRun(":foo")
            then:
            def realizeOp = buildOperations.only(RealizeTaskBuildOperationType)
            with(realizeOp.details) {
                taskPath == ":foo"
                taskId == uniqueId
                eager == true
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/trace/gen.go

    		endStack = region.End.Stack()
    		endTime = region.End.Time()
    		goroutine = region.End.Goroutine()
    	}
    	if goroutine == trace.NoGoroutine {
    		return
    	}
    	arg := struct {
    		TaskID uint64 `json:"taskid"`
    	}{
    		TaskID: uint64(region.TaskID),
    	}
    	ctx.AsyncSlice(traceviewer.AsyncSliceEvent{
    		SliceEvent: traceviewer.SliceEvent{
    			Name:     region.Name,
    			Ts:       ctx.elapsed(startTime),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            def allRegisterIds = allRegisterOps*.details*.taskId
            allRegisterIds == allRegisterIds as Set
    
            // all realize ops have unique task id
            def allRealizeOps = buildOperations.all(RealizeTaskBuildOperationType)
            def allRealizeIds = allRealizeOps*.details*.taskId
            allRealizeIds == allRealizeIds as Set
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TaskOriginTracker.java

                storeOrigin(buildOperation, details.getTaskId());
            }
        }
    
        private void storeOrigin(BuildOperationDescriptor buildOperation, long taskId) {
            origins.computeIfAbsent(taskId, key -> {
                PluginApplication pluginApplication = pluginApplicationTracker.findRunningPluginApplication(buildOperation.getParentId());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. src/cmd/trace/regions.go

    {{end}}
    </tr>
    {{range .Regions}}
    	<tr>
    		<td> <a href="/trace?goid={{.Goroutine}}">{{.Goroutine}}</a> </td>
    		<td> {{if .TaskID}}<a href="/trace?focustask={{.TaskID}}">{{.TaskID}}</a>{{end}} </td>
    		<td> {{ .TotalTime.String }} </td>
    		<td>
    			<div class="stacked-bar-graph">
    			{{$Region := .}}
    			{{range $.NonOverlappingStats}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. src/internal/trace/summary.go

    	}
    	return descendents
    }
    
    // UserRegionSummary represents a region and goroutine execution stats
    // while the region was active. (For v2 traces.)
    type UserRegionSummary struct {
    	TaskID TaskID
    	Name   string
    
    	// Region start event. Normally EventRegionBegin event or nil,
    	// but can be a state transition event from NotExist or Undetermined
    	// if the region is a synthetic region representing task inheritance
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top