Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,244 for pauses (0.13 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_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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/mgc.go

    		// sched.idleTime and sched.totaltime. memstats also include
    		// the pause time (work,pauseNS), forcing computation of the
    		// total pause time before the pause actually ends.
    		//
    		// Here we reuse the same now for start the world so that the
    		// time added to /sched/pauses/total/gc:seconds will be
    		// consistent with the value in memstats.
    		startTheWorldWithSema(now, stw)
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h"
    
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Pass/PassOptions.h"  // from @llvm-project
    #include "mlir/Transforms/Passes.h"  // from @llvm-project
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    
    namespace mlir::quant::stablehlo {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h

    #define GEN_PASS_DECL_CONVERTTFQUANTOPSTOMHLO
    #define GEN_PASS_DECL_CONVERTTFQUANTTYPES
    #define GEN_PASS_DECL_VERIFYQUANTLEGALIZATION
    #define GEN_PASS_DECL_OPTIMIZEINTGRAPH
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.h.inc"
    }  // namespace mlir::quant::stablehlo
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top