Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,091 for ktrace (0.11 sec)

  1. src/runtime/tracetime.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Trace time and clock.
    
    package runtime
    
    import (
    	"internal/goarch"
    	_ "unsafe"
    )
    
    // Timestamps in trace are produced through either nanotime or cputicks
    // and divided by traceTimeDiv. nanotime is used everywhere except on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                requests.add(new MetadataRequest(metadata, null, REPOSITORY_CONTEXT).setTrace(trace));
    
                for (RemoteRepository repository : request.getRepositories()) {
                    requests.add(new MetadataRequest(metadata, repository, REPOSITORY_CONTEXT).setTrace(trace));
                }
            }
    
            // initial try, use locally cached metadata
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  3. src/runtime/trace/trace_test.go

    	}
    	Stop()
    	size := buf.Len()
    	if size == 0 {
    		t.Fatalf("trace is empty")
    	}
    	time.Sleep(100 * time.Millisecond)
    	if size != buf.Len() {
    		t.Fatalf("trace writes after stop: %v -> %v", size, buf.Len())
    	}
    	saveTrace(t, buf, "TestTraceStartStop")
    }
    
    func TestTraceDoubleStart(t *testing.T) {
    	if IsEnabled() {
    		t.Skip("skipping because -test.trace is set")
    	}
    	Stop()
    	buf := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. platforms/ide/problems-api/src/main/java/org/gradle/problems/buildtree/ProblemStream.java

         *
         * <p>This method is here because stack trace sanitizing is currently performed by the caller.
         * However, each caller does this in a different way and they all do this in a different way
         * to the services used by this type.
         * </p>
         *
         * <p>
         * Stack trace sanitization should be handled by this service and this method removed.
         * </p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 06:37:14 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/cpu-profile.go

    	func() {
    		// Create a region in the execution trace. Set and clear goroutine
    		// labels fully within that region, so we know that any CPU profile
    		// sample with the label must also be eligible for inclusion in the
    		// execution trace.
    		ctx := context.Background()
    		defer trace.StartRegion(ctx, "cpuHogger").End()
    		pprof.Do(ctx, pprof.Labels("tracing", "on"), func(ctx context.Context) {
    			cpuHogger(cpuHog1, &salt1, dur)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/runtime/trace/annotation.go

    	// can be used across trace enable/disable boundaries,
    	// which complicates the problem.
    	//
    	// For example, consider the following scenario:
    	//   - trace is enabled.
    	//   - trace.WithRegion is called, so a new context ctx
    	//     with a new region is created.
    	//   - trace is disabled.
    	//   - trace is enabled again.
    	//   - trace APIs with the ctx is called. Is the ID in the task
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

            return result;
        }
    
        private void missingDescriptor(
                RepositorySystemSession session, RequestTrace trace, Artifact artifact, Exception exception) {
            RepositoryEvent.Builder event = new RepositoryEvent.Builder(session, EventType.ARTIFACT_DESCRIPTOR_MISSING);
            event.setTrace(trace);
            event.setArtifact(artifact);
            event.setException(exception);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. src/cmd/trace/jsontrace_test.go

    		}
    		if err := w.WriteEvent(ev); err != nil {
    			t.Fatalf("failed to write out test %s: %v", testPath, err)
    		}
    	}
    
    	// Parse the test trace.
    	parsed, err := parseTrace(&trace, int64(trace.Len()))
    	if err != nil {
    		t.Fatalf("failed to parse trace: %v", err)
    	}
    	return parsed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/libtf/tests/function_test.cc

      FunctionDef fdef = SquareFunc();
      AbstractFunctionPtr trace(new GraphFunction(fdef), /*add_ref=*/false);
      Function tf_function;
      PartialTensorShape unknown_shape;
      TaggedValue signature(unknown_shape, DT_FLOAT);
      Status s = tf_function.RegisterTrace(std::move(trace), signature, signature);
      ASSERT_TRUE(s.ok()) << s.message();
      TaggedValue args(std::move(x));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 21:44:52 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  10. src/internal/trace/raw/textreader.go

    	"strconv"
    	"strings"
    	"unicode"
    
    	"internal/trace/event"
    	"internal/trace/version"
    )
    
    // TextReader parses a text format trace with only very basic validation
    // into an event stream.
    type TextReader struct {
    	v     version.Version
    	specs []event.Spec
    	names map[string]event.Type
    	s     *bufio.Scanner
    }
    
    // NewTextReader creates a new reader for the trace text format.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top