Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for traceme (0.18 sec)

  1. src/runtime/tracetime.go

    //
    // traceClockNow is called by golang.org/x/exp/trace using linkname.
    //
    //go:linkname traceClockNow
    //go:nosplit
    func traceClockNow() traceTime {
    	if osHasLowResClock {
    		return traceTime(cputicks() / traceTimeDiv)
    	}
    	return traceTime(nanotime() / traceTimeDiv)
    }
    
    // traceClockUnitsPerSecond estimates the number of trace clock units per
    // second that elapse.
    func traceClockUnitsPerSecond() uint64 {
    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. staging/src/k8s.io/apiserver/pkg/endpoints/filters/traces.go

    	semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
    	"go.opentelemetry.io/otel/trace"
    	"k8s.io/apiserver/pkg/endpoints/request"
    
    	tracing "k8s.io/component-base/tracing"
    )
    
    // WithTracing adds tracing to requests if the incoming request is sampled
    func WithTracing(handler http.Handler, tp trace.TracerProvider) http.Handler {
    	opts := []otelhttp.Option{
    		otelhttp.WithPropagators(tracing.Propagators()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 15 01:42:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/internal/trace/internal/testgen/go122/trace.go

    	"os"
    	"regexp"
    	"strings"
    
    	"internal/trace"
    	"internal/trace/event"
    	"internal/trace/event/go122"
    	"internal/trace/raw"
    	"internal/trace/version"
    	"internal/txtar"
    )
    
    func Main(f func(*Trace)) {
    	// Create an output file.
    	out, err := os.Create(os.Args[1])
    	if err != nil {
    		panic(err.Error())
    	}
    	defer out.Close()
    
    	// Create a new trace.
    	trace := NewTrace()
    
    	// Call the generator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/runtime/traceruntime.go

    	// Perform a traceAcquire/traceRelease on behalf of mp to
    	// synchronize with the tracer trying to flush our buffer
    	// as well.
    	seq := mp.trace.seqlock.Add(1)
    	if debugTraceReentrancy && seq%2 != 1 {
    		throw("bad use of trace.seqlock or tracer is reentrant")
    	}
    	systemstack(func() {
    		lock(&trace.lock)
    		for i := range mp.trace.buf {
    			if mp.trace.buf[i] != nil {
    				// N.B. traceBufFlush accepts a generation, but it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. src/runtime/trace.go

    		}
    		if stopTrace {
    			if !trace.full[1-(gen%2)].empty() {
    				throw("trace: non-empty full trace buffer for next generation")
    			}
    			if trace.reading != nil || trace.reader.Load() != nil {
    				throw("trace: reading after shutdown")
    			}
    			// Free all the empty buffers.
    			for trace.empty != nil {
    				buf := trace.empty
    				trace.empty = buf.link
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. internal/grid/trace.go

    	v := ctx.Value(TraceParamsKey{})
    	// Should match SingleHandler.Call checks.
    	switch typed := v.(type) {
    	case *MSS:
    		trace.Path += typed.ToQuery()
    	case map[string]string:
    		m := MSS(typed)
    		trace.Path += m.ToQuery()
    	case *URLValues:
    		trace.Path += typed.Values().Encode()
    	case *NoPayload, *Bytes:
    		trace.Path = fmt.Sprintf("%s?payload=%T", trace.Path, typed)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/internal/fuzz/trace.go

    Cuong Manh Le <******@****.***> 1665464211 +0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 00:12:53 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/trace/trace.go

    // file (trace.out).
    //
    //	go test -trace=trace.out
    //
    // This runtime/trace package provides APIs to add equivalent tracing
    // support to a standalone program. See the Example that demonstrates
    // how to use this API to enable tracing.
    //
    // There is also a standard HTTP interface to trace data. Adding the
    // following line will install a handler under the /debug/pprof/trace URL
    // to download a live trace:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 00:47:09 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/tests/unit/test_productpage.py

            # don't match, the mock won't fire, an E500 will be triggered
            # and the test will fail.
            expected_headers = {
                'x-request-id': '34eeb41d-d267-9e49-8b84-dde403fc5b72',
                'x-b3-traceid': '80f198ee56343ba864fe8b2a57d3eff7',
                'x-b3-spanid': 'e457b5a2e4d86bd1',
                'x-b3-sampled': '1',
                'sw8': '40c7fdf104e3de67'
            }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/internal/nettrace/nettrace.go

    // the net package. This package is purely internal for use by the
    // net/http/httptrace package and has no stable API exposed to end
    // users.
    package nettrace
    
    // TraceKey is a context.Context Value key. Its associated value should
    // be a *Trace struct.
    type TraceKey struct{}
    
    // LookupIPAltResolverKey is a context.Context Value key used by tests to
    // specify an alternate resolver func.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:57:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top