Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for readGCStats (0.33 sec)

  1. src/runtime/debug/garbage.go

    	PauseQuantiles []time.Duration
    }
    
    // ReadGCStats reads statistics about garbage collection into stats.
    // The number of entries in the pause history is system-dependent;
    // stats.Pause slice will be reused if large enough, reallocated otherwise.
    // ReadGCStats may use the full capacity of the stats.Pause slice.
    // If stats.PauseQuantiles is non-empty, ReadGCStats fills it with quantiles
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/runtime/debug/stubs.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package debug
    
    import (
    	"time"
    )
    
    // Implemented in package runtime.
    func readGCStats(*[]time.Duration)
    func freeOSMemory()
    func setMaxStack(int) int
    func setGCPercent(int32) int32
    func setPanicOnFault(bool) bool
    func setMaxThreads(int) int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 03 15:12:04 UTC 2022
    - 435 bytes
    - Viewed (0)
  3. src/runtime/debug/garbage_test.go

    	var mstats runtime.MemStats
    	var min, max time.Duration
    
    	// First ReadGCStats will allocate, second should not,
    	// especially if we follow up with an explicit garbage collection.
    	stats.PauseQuantiles = make([]time.Duration, 10)
    	ReadGCStats(&stats)
    	runtime.GC()
    
    	// Assume these will return same data: no GC during ReadGCStats.
    	ReadGCStats(&stats)
    	runtime.ReadMemStats(&mstats)
    
    	if stats.NumGC != int64(mstats.NumGC) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. cmd/admin-server-info.go

    	gcStats := debug.GCStats{
    		// If stats.PauseQuantiles is non-empty, ReadGCStats fills
    		// it with quantiles summarizing the distribution of pause time.
    		// For example, if len(stats.PauseQuantiles) is 5, it will be
    		// filled with the minimum, 25%, 50%, 75%, and maximum pause times.
    		PauseQuantiles: make([]time.Duration, 5),
    	}
    	debug.ReadGCStats(&gcStats)
    	// Truncate GC stats to max 5 entries.
    	if len(gcStats.PauseEnd) > 5 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/runtime/mstats.go

    	// compatibility issues. copy will copy the minimum amount
    	// of values between the two of them.
    	copy(stats.BySize[:], bySize[:])
    }
    
    //go:linkname readGCStats runtime/debug.readGCStats
    func readGCStats(pauses *[]uint64) {
    	systemstack(func() {
    		readGCStats_m(pauses)
    	})
    }
    
    // readGCStats_m must be called on the system stack because it acquires the heap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/runtime/metrics/doc.go

    /*
    Package metrics provides a stable interface to access implementation-defined
    metrics exported by the Go runtime. This package is similar to existing functions
    like [runtime.ReadMemStats] and [runtime/debug.ReadGCStats], but significantly more general.
    
    The set of metrics defined by this package may evolve as the runtime itself
    evolves, and also enables variation across Go implementations, whose relevant
    metric sets may not intersect.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Module.Replace", Field, 12},
    		{"Module.Sum", Field, 12},
    		{"Module.Version", Field, 12},
    		{"ParseBuildInfo", Func, 18},
    		{"PrintStack", Func, 0},
    		{"ReadBuildInfo", Func, 12},
    		{"ReadGCStats", Func, 1},
    		{"SetGCPercent", Func, 1},
    		{"SetMaxStack", Func, 2},
    		{"SetMaxThreads", Func, 2},
    		{"SetMemoryLimit", Func, 19},
    		{"SetPanicOnFault", Func, 3},
    		{"SetTraceback", Func, 6},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. api/go1.1.txt

    pkg runtime, type BlockProfileRecord struct, Cycles int64
    pkg runtime, type BlockProfileRecord struct, embedded StackRecord
    pkg runtime/debug, func FreeOSMemory()
    pkg runtime/debug, func ReadGCStats(*GCStats)
    pkg runtime/debug, func SetGCPercent(int) int
    pkg runtime/debug, type GCStats struct
    pkg runtime/debug, type GCStats struct, LastGC time.Time
    pkg runtime/debug, type GCStats struct, NumGC int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top