Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for hcsStats (0.47 sec)

  1. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    }
    
    type containerStats struct {
    	container hcsshim.ContainerProperties
    	hcsStats  []hcsshim.NetworkStats
    }
    
    func (s fakeNetworkStatsProvider) GetHNSEndpointStats(endpointName string) (*hcsshim.HNSEndpointStats, error) {
    	eps := hcsshim.HNSEndpointStats{}
    	for _, c := range s.containers {
    		for _, stat := range c.hcsStats {
    			if endpointName == stat.InstanceId {
    				eps = hcsshim.HNSEndpointStats{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows.go

    	result.InterfaceStats = iStat
    
    	return result
    }
    
    func hcsStatToInterfaceStat(hcsStats *hcsshim.HNSEndpointStats, endpointName string) statsapi.InterfaceStats {
    	iStat := statsapi.InterfaceStats{
    		Name:    endpointName,
    		RxBytes: &hcsStats.BytesReceived,
    		TxBytes: &hcsStats.BytesSent,
    	}
    	return iStat
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. cmd/admin-server-info.go

    		gcStats.PauseEnd = gcStats.PauseEnd[len(gcStats.PauseEnd)-5:]
    	}
    	if len(gcStats.Pause) > 5 {
    		gcStats.Pause = gcStats.Pause[len(gcStats.Pause)-5:]
    	}
    
    	props := madmin.ServerProperties{
    		Endpoint: addr,
    		Uptime:   UTCNow().Unix() - globalBootTime.Unix(),
    		Version:  Version,
    		CommitID: CommitID,
    		Network:  network,
    		MemStats: madmin.MemStats{
    			Alloc:      memstats.Alloc,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    		}
    	}
    
    	if w == nil { // when response recorder nil, this is an active request
    		hstats.currentS3Requests.Inc(api)
    		bh.httpStats[bucket] = hstats
    		return
    	} // else {
    	hstats.currentS3Requests.Dec(api) // decrement this once we have the response recorder.
    
    	hstats.totalS3Requests.Inc(api)
    	code := w.StatusCode
    
    	switch {
    	case code == 0:
    	case code == 499:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 06:25:13 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. src/runtime/debug/garbage.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    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
    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

    			compute: func(in *statAggregate, out *metricValue) {
    				out.kind = metricKindUint64
    				out.scalar = in.gcStats.globalsScan
    			},
    		},
    		"/gc/scan/heap:bytes": {
    			deps: makeStatDepSet(gcStatsDep),
    			compute: func(in *statAggregate, out *metricValue) {
    				out.kind = metricKindUint64
    				out.scalar = in.gcStats.heapScan
    			},
    		},
    		"/gc/scan/stack:bytes": {
    			deps: makeStatDepSet(gcStatsDep),
    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/runtime/debug/garbage_test.go

    package debug_test
    
    import (
    	"internal/testenv"
    	"os"
    	"runtime"
    	. "runtime/debug"
    	"testing"
    	"time"
    )
    
    func TestReadGCStats(t *testing.T) {
    	defer SetGCPercent(SetGCPercent(-1))
    
    	var stats GCStats
    	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.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:30:00 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. api/go1.4.txt

    pkg reflect, type Type interface, Comparable() bool
    
    # CL 153670043 runtime: add PauseEnd array to MemStats and GCStats, Jens Frederich <******@****.***>
    pkg runtime, type MemStats struct, PauseEnd [256]uint64
    pkg runtime/debug, type GCStats struct, PauseEnd []time.Time
    
    # CL 136710045 sync/atomic: add Value, Dmitriy Vyukov <******@****.***>
    pkg sync/atomic, method (*Value) Load() interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 12 03:01:01 UTC 2014
    - 34K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    						HeapAlloc:  server.MemStats.HeapAlloc,
    					},
    					GoMaxProcs:     server.GoMaxProcs,
    					NumCPU:         server.NumCPU,
    					RuntimeVersion: server.RuntimeVersion,
    					GCStats:        server.GCStats,
    					MinioEnvVars:   server.MinioEnvVars,
    				})
    			}
    
    			tls := getTLSInfo()
    			isK8s := IsKubernetes()
    			isDocker := IsDocker()
    			healthInfo.Minio.Info = madmin.MinioInfo{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"BuildSetting.Key", Field, 18},
    		{"BuildSetting.Value", Field, 18},
    		{"FreeOSMemory", Func, 1},
    		{"GCStats", Type, 1},
    		{"GCStats.LastGC", Field, 1},
    		{"GCStats.NumGC", Field, 1},
    		{"GCStats.Pause", Field, 1},
    		{"GCStats.PauseEnd", Field, 4},
    		{"GCStats.PauseQuantiles", Field, 1},
    		{"GCStats.PauseTotal", Field, 1},
    		{"Module", Type, 12},
    		{"Module.Path", Field, 12},
    		{"Module.Replace", Field, 12},
    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