Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for readGCStats (0.34 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. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top