- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for modstat (0.21 sec)
-
pkg/kubelet/eviction/eviction_manager_test.go
NumOfRunningProcesses: &NumberOfRunningProcesses, }, }, Pods: []statsapi.PodStats{}, } for _, podStat := range podStats { result.Pods = append(result.Pods, podStat) } return result } func makeMemoryStats(nodeAvailableBytes string, podStats map[*v1.Pod]statsapi.PodStats) *statsapi.Summary { val := resource.MustParse(nodeAvailableBytes) availableBytes := uint64(val.Value())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0) -
pkg/kubelet/metrics/collectors/volume_stats.go
ch <- metrics.NewLazyConstMetric(desc, metrics.GaugeValue, v, lv...) } allPVCs := sets.Set[string]{} for _, podStat := range podStats { if podStat.VolumeStats == nil { continue } for _, volumeStat := range podStat.VolumeStats { pvcRef := volumeStat.PVCRef if pvcRef == nil { // ignore if no PVC reference continue } pvcUniqStr := pvcRef.Namespace + "/" + pvcRef.Name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers_test.go
} for _, pod := range pods { podStats, found := statsFunc(pod) if !found { t.Errorf("Pod stats were not found for pod %v", pod.UID) } if *podStats.Memory.WorkingSetBytes != podWorkingSetBytes { t.Errorf("Pod working set expected %v, actual: %v", podWorkingSetBytes, *podStats.Memory.WorkingSetBytes) } } } func TestThresholdsMet(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 106.7K bytes - Viewed (0) -
cmd/metrics-realtime.go
} else { m.Aggregated.CPU.CPUCount = cpuCount } loadStat, err := load.Avg() if err != nil { m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (loadStat)", byHostName, err.Error())) } else { m.Aggregated.CPU.LoadStat = loadStat } } if types.Contains(madmin.MetricsRPC) { gr := globalGrid.Load() if gr == nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:16:24 UTC 2024 - 6.3K bytes - Viewed (0) -
src/math/big/int_test.go
if z != &sqrtChk || z.Cmp(sqrt) != 0 { t.Errorf("ModSqrt returned inconsistent value %s", z) } sqChk.Sub(sq, mod) z = sqrtChk.ModSqrt(&sqChk, mod) if z != &sqrtChk || z.Cmp(sqrt) != 0 { t.Errorf("ModSqrt returned inconsistent value %s", z) } // test x aliasing z z = sqrtChk.ModSqrt(sqrtChk.Set(sq), mod) if z != &sqrtChk || z.Cmp(sqrt) != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/syscall/fs_wasip1.go
//go:noescape func random_get(buf unsafe.Pointer, bufLen size) Errno // https://github.com/WebAssembly/WASI/blob/a2b96e81c0586125cc4dc79a5be0b78d9a059925/legacy/preview1/docs.md#-fdstat-record // fdflags must be at offset 2, hence the uint16 type rather than the // fdflags (uint32) type. type fdstat struct { filetype filetype fdflags uint16 rightsBase rights rightsInheriting rights }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24.1K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
// The dependencies of the roots will be loaded lazily at the first call to the // Graph method. // // The rootModules slice must be sorted according to gover.ModSort. // The caller must not modify the rootModules slice or direct map after passing // them to newRequirements. // // If vendoring is in effect, the caller must invoke initVendor on the returned
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
cmd/metrics-v3.go
driveIOErrorsMD, driveAvailabilityErrorsMD, driveWaitingIOMD, driveAPILatencyMD, driveHealthMD, driveOfflineCountMD, driveOnlineCountMD, driveCountMD, // iostat related driveReadsPerSecMD, driveReadsKBPerSecMD, driveReadsAwaitMD, driveWritesPerSecMD, driveWritesKBPerSecMD, driveWritesAwaitMD, drivePercUtilMD, }, loadDriveMetrics,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/metrics-resource.go
cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100 updateResourceMetrics(cpuSubsystem, cpuSteal, cpuStealVal, labels, false) } ls := hm.CPU.LoadStat if ls != nil { updateResourceMetrics(cpuSubsystem, cpuLoad1, ls.Load1, labels, false) updateResourceMetrics(cpuSubsystem, cpuLoad5, ls.Load5, labels, false)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 17 15:15:13 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
v.Pos = pos return v } // LogStat writes a string key and int value as a warning in a // tab-separated format easily handled by spreadsheets or awk. // file names, lines, and function names are included to provide enough (?) // context to allow item-by-item comparisons across runs. // For example: // awk 'BEGIN {FS="\t"} $3~/TIME/{sum+=$4} END{print "t(ns)=",sum}' t.log func (f *Func) LogStat(key string, args ...interface{}) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0)