- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for TaskID (0.14 sec)
-
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) -
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) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ResolveTaskMutationsBuildOperationTypeIntegrationTest.groovy
def op = operations.first(ResolveTaskMutationsBuildOperationType) { it.details.taskPath == taskPath } op.details.buildPath == ":" op.details.taskId != null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 27 12:00:57 UTC 2022 - 2.5K bytes - Viewed (0) -
src/internal/trace/event/event.go
"gstatus", // G status "g", // trace.GoID "m", // trace.ThreadID "p", // trace.ProcID "string", // string ID "stack", // stack ID "value", // uint64 "task", // trace.TaskID } // Names is a helper that produces a mapping of event names to event types. func Names(specs []Spec) map[string]Type { nameToType := make(map[string]Type) for i, spec := range specs {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.4K bytes - Viewed (0) -
src/internal/trace/reader.go
return &Reader{ r: br, order: ordering{ mStates: make(map[ThreadID]*mState), pStates: make(map[ProcID]*pState), gStates: make(map[GoID]*gState), activeTasks: make(map[TaskID]taskState), }, // Don't emit a sync event when we first go to emit events. emittedSync: true, }, nil default: return nil, fmt.Errorf("unknown or unsupported version go 1.%d", v) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 6.7K bytes - Viewed (0) -
src/internal/trace/internal/testgen/go122/trace.go
case "m": u = uint64(arg.(trace.ThreadID)) case "p": u = uint64(arg.(trace.ProcID)) case "string": u = b.gen.String(arg.(string)) case "task": u = uint64(arg.(trace.TaskID)) default: panic(fmt.Sprintf("unsupported arg type %q for spec %q", typStr, argSpec)) } return u } // RawEvent emits an event into a batch. name must correspond to one
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 9.7K bytes - Viewed (0)