Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for numSvc (0.13 sec)

  1. cmd/admin-server-info.go

    		},
    		GoMaxProcs:     runtime.GOMAXPROCS(0),
    		NumCPU:         runtime.NumCPU(),
    		RuntimeVersion: runtime.Version(),
    		GCStats: &madmin.GCStats{
    			LastGC:     gcStats.LastGC,
    			NumGC:      gcStats.NumGC,
    			PauseTotal: gcStats.PauseTotal,
    			Pause:      gcStats.Pause,
    			PauseEnd:   gcStats.PauseEnd,
    		},
    		MinioEnvVars: make(map[string]string, 10),
    	}
    
    	for poolNumber := range poolNumbers {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. src/sync/pool_test.go

    			}
    			for i, v := range items {
    				p.Put(v)
    				items[i] = nil
    			}
    		}
    		_ = sink
    	})
    	runtime.ReadMemStats(&mstats2)
    
    	b.ReportMetric(float64(mstats2.NumGC-mstats1.NumGC)/float64(b.N), "GCs/op")
    	b.ReportMetric(float64(nNew)/float64(b.N), "New/op")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/runtime/mstats.go

    	//
    	// This buffer is filled the same way as PauseNs. There may be
    	// multiple pauses per GC cycle; this records the end of the
    	// last pause in a cycle.
    	PauseEnd [256]uint64
    
    	// NumGC is the number of completed GC cycles.
    	NumGC uint32
    
    	// NumForcedGC is the number of GC cycles that were forced by
    	// the application calling the GC function.
    	NumForcedGC uint32
    
    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/gc_test.go

    	var numGCs uint32
    	const want = 2
    	for i := 0; i < 200 && numGCs < want; i++ {
    		time.Sleep(5 * time.Millisecond)
    
    		// Test that periodic GC actually happened.
    		runtime.ReadMemStats(&ms2)
    		numGCs = ms2.NumGC - ms1.NumGC
    	}
    	*runtime.ForceGCPeriod = orig
    
    	if numGCs < want {
    		t.Fatalf("no periodic GC: got %v GCs, want >= 2", numGCs)
    	}
    }
    
    func TestGcZombieReporting(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/runtime/debug/garbage.go

    package debug
    
    import (
    	"runtime"
    	"slices"
    	"time"
    )
    
    // GCStats collect information about recent garbage collections.
    type GCStats struct {
    	LastGC         time.Time       // time of last collection
    	NumGC          int64           // number of garbage collections
    	PauseTotal     time.Duration   // total pause for all collections
    	Pause          []time.Duration // pause history, most recent first
    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. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go

    		u.Object["num"] = u.Object["numv2"]
    		u.Object["content"] = u.Object["contentv2"]
    		delete(u.Object, "numv2")
    		delete(u.Object, "contentv2")
    	} else if (currentAPIVersion == "stable.example.com/v1alpha1" || currentAPIVersion == "stable.example.com/v1beta1") && desiredAPIVersion == "stable.example.com/v1beta2" {
    		u.Object["numv2"] = u.Object["num"]
    		u.Object["contentv2"] = u.Object["content"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 47.1K bytes
    - Viewed (0)
  7. src/runtime/metrics_test.go

    		case "/gc/cycles/automatic:gc-cycles":
    			checkUint64(t, name, samples[i].Value.Uint64(), uint64(mstats.NumGC-mstats.NumForcedGC))
    		case "/gc/cycles/forced:gc-cycles":
    			checkUint64(t, name, samples[i].Value.Uint64(), uint64(mstats.NumForcedGC))
    		case "/gc/cycles/total:gc-cycles":
    			checkUint64(t, name, samples[i].Value.Uint64(), uint64(mstats.NumGC))
    		case "/gc/pauses:seconds":
    			gcPauses = samples[i].Value.Float64Histogram()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. src/runtime/mgclimit.go

    	if change > 0 && headroom <= uint64(change) {
    		l.overflow += uint64(change) - headroom
    		l.bucket.fill = l.bucket.capacity
    		if !enabled {
    			l.enabled.Store(true)
    			l.lastEnabledCycle.Store(memstats.numgc + 1)
    		}
    		return
    	}
    
    	// Handle non-limiting cases.
    	if change < 0 && l.bucket.fill <= uint64(-change) {
    		// Bucket emptied.
    		l.bucket.fill = 0
    	} else {
    		// All other cases.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 22:07:41 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    	atomic.Store64(&memstats.last_gc_nanotime, uint64(now)) // monotonic time for us
    	memstats.pause_ns[memstats.numgc%uint32(len(memstats.pause_ns))] = uint64(work.pauseNS)
    	memstats.pause_end[memstats.numgc%uint32(len(memstats.pause_end))] = uint64(unixNow)
    	memstats.pause_total_ns += uint64(work.pauseNS)
    
    	// Accumulate CPU stats.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof.go

    	fmt.Fprintf(w, "# NextGC = %d\n", s.NextGC)
    	fmt.Fprintf(w, "# LastGC = %d\n", s.LastGC)
    	fmt.Fprintf(w, "# PauseNs = %d\n", s.PauseNs)
    	fmt.Fprintf(w, "# PauseEnd = %d\n", s.PauseEnd)
    	fmt.Fprintf(w, "# NumGC = %d\n", s.NumGC)
    	fmt.Fprintf(w, "# NumForcedGC = %d\n", s.NumForcedGC)
    	fmt.Fprintf(w, "# GCCPUFraction = %v\n", s.GCCPUFraction)
    	fmt.Fprintf(w, "# DebugGC = %v\n", s.DebugGC)
    
    	// Also flush out MaxRSS on supported platforms.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top