Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,732 for pauses (0.23 sec)

  1. src/sync/pool_test.go

    	slices.Sort(pauses)
    	var total uint64
    	for _, ns := range pauses {
    		total += ns
    	}
    	// ns/op for this benchmark is average STW time.
    	b.ReportMetric(float64(total)/float64(b.N), "ns/op")
    	b.ReportMetric(float64(pauses[len(pauses)*95/100]), "p95-ns/STW")
    	b.ReportMetric(float64(pauses[len(pauses)*50/100]), "p50-ns/STW")
    }
    
    func BenchmarkPoolExpensiveNew(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. src/runtime/metrics/description.go

    		Name: "/cpu/classes/gc/pause:cpu-seconds",
    		Description: "Estimated total CPU time spent with the application paused by " +
    			"the GC. Even if only one thread is running during the pause, this is " +
    			"computed as GOMAXPROCS times the pause latency because nothing else " +
    			"can be executing. This is the exact sum of samples in " +
    			"/sched/pauses/total/gc:seconds if each sample is multiplied by " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  3. src/runtime/metrics_test.go

    	// Verify that /gc/pauses:seconds is a copy of /sched/pauses/total/gc:seconds
    	if !reflect.DeepEqual(gcPauses.Buckets, schedPausesTotalGC.Buckets) {
    		t.Errorf("/gc/pauses:seconds buckets %v do not match /sched/pauses/total/gc:seconds buckets %v", gcPauses.Buckets, schedPausesTotalGC.Counts)
    	}
    	if !reflect.DeepEqual(gcPauses.Counts, schedPausesTotalGC.Counts) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/runtime/mstats.go

    		throw("short slice passed to readGCStats")
    	}
    
    	// Pass back: pauses, pause ends, last gc (absolute time), number of gc, total pause ns.
    	lock(&mheap_.lock)
    
    	n := memstats.numgc
    	if n > uint32(len(memstats.pause_ns)) {
    		n = uint32(len(memstats.pause_ns))
    	}
    
    	// The pause buffer is circular. The most recent pause is at
    	// pause_ns[(numgc-1)%len(pause_ns)], and then backward
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  5. src/runtime/metrics/doc.go

    	/cpu/classes/gc/pause:cpu-seconds
    		Estimated total CPU time spent with the application paused by
    		the GC. Even if only one thread is running during the pause,
    		this is computed as GOMAXPROCS times the pause latency because
    		nothing else can be executing. This is the exact sum of samples
    		in /sched/pauses/total/gc:seconds if each sample is multiplied
    		by GOMAXPROCS at the time it is taken. This metric is an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. src/runtime/debug/garbage.go

    	// any conversion.
    	readGCStats(&stats.Pause)
    	n := len(stats.Pause) - 3
    	stats.LastGC = time.Unix(0, int64(stats.Pause[n]))
    	stats.NumGC = int64(stats.Pause[n+1])
    	stats.PauseTotal = stats.Pause[n+2]
    	n /= 2 // buffer holds pauses and end times
    	stats.Pause = stats.Pause[:n]
    
    	if cap(stats.PauseEnd) < maxPause {
    		stats.PauseEnd = make([]time.Time, 0, maxPause)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/runtime/metrics.go

    				sched.timeToRun.write(out)
    			},
    		},
    		"/sched/pauses/stopping/gc:seconds": {
    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.stwStoppingTimeGC.write(out)
    			},
    		},
    		"/sched/pauses/stopping/other:seconds": {
    			compute: func(_ *statAggregate, out *metricValue) {
    				sched.stwStoppingTimeOther.write(out)
    			},
    		},
    		"/sched/pauses/total/gc:seconds": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. src/runtime/lock_js.go

    func handleAsyncEvent() {
    	idleStart = nanotime()
    	pause(getcallersp() - 16)
    }
    
    // clearIdleTimeout clears our record of the timeout started by beforeIdle.
    func clearIdleTimeout() {
    	idleTimeout.clear()
    	idleTimeout = nil
    }
    
    // pause sets SP to newsp and pauses the execution of Go's WebAssembly code until an event is triggered.
    func pause(newsp uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. docs/config/README.md

    ### Usage scanner
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  10. src/time/sleep.go

    // license that can be found in the LICENSE file.
    
    package time
    
    import (
    	"internal/godebug"
    	"unsafe"
    )
    
    // Sleep pauses the current goroutine for at least the duration d.
    // A negative or zero duration causes Sleep to return immediately.
    func Sleep(d Duration)
    
    var asynctimerchan = godebug.New("asynctimerchan")
    
    // syncTimer returns c as an unsafe.Pointer, for passing to newTimer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top