Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 218 for rtrace (0.1 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ScopedFingerprintWriter.kt

            }
        }
    
        private
        inline fun withPropertyTrace(trace: PropertyTrace?, block: ScopedFingerprintWriter<T>.() -> Unit) {
            if (trace != null) {
                writeContext.withPropertyTrace(trace) { block() }
            } else {
                block()
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. prow/integ-suite-kind.sh

    export ARTIFACTS="${ARTIFACTS:-$(mktemp -d)}"
    trace "init" make init
    
    if [[ -z "${SKIP_SETUP:-}" ]]; then
      export DEFAULT_CLUSTER_YAML="./prow/config/default.yaml"
      export METRICS_SERVER_CONFIG_DIR='./prow/config/metrics'
    
      if [[ "${TOPOLOGY}" == "SINGLE_CLUSTER" ]]; then
        trace "setup kind cluster" setup_kind_cluster_retry "istio-testing" "${NODE_IMAGE}" "${KIND_CONFIG}"
      else
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/futile-wakeup.go

    // information, and is purely an artifact of the runtime implementation) doesn't
    // make it into the trace.
    
    //go:build ignore
    
    package main
    
    import (
    	"context"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/internal/trace/testdata/testprog/gomaxprocs.go

    package main
    
    import (
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"time"
    )
    
    func main() {
    	// Start a goroutine that calls runtime.GC to try and
    	// introduce some interesting events in between the
    	// GOMAXPROCS calls.
    	go func() {
    		for {
    			runtime.GC()
    			time.Sleep(1 * time.Millisecond)
    		}
    	}()
    
    	// Start tracing.
    	if err := trace.Start(os.Stdout); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 967 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. 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)
  10. src/internal/trace/raw/event.go

    package raw
    
    import (
    	"strconv"
    	"strings"
    
    	"internal/trace/event"
    	"internal/trace/version"
    )
    
    // Event is a simple representation of a trace event.
    //
    // Note that this typically includes much more than just
    // timestamped events, and it also represents parts of the
    // trace format's framing. (But not interpreted.)
    type Event struct {
    	Version version.Version
    	Ev      event.Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top