Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for modstat (0.15 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go

    	SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
    	SYS_MODNEXT                  = 300 // { int modnext(int modid); }
    	SYS_MODSTAT                  = 301 // { int modstat(int modid, struct module_stat* stat); }
    	SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
    	SYS_MODFIND                  = 303 // { int modfind(const char *name); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go

    	SYS_FHOPEN                   = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); }
    	SYS_MODNEXT                  = 300 // { int modnext(int modid); }
    	SYS_MODSTAT                  = 301 // { int modstat(int modid, struct module_stat* stat); }
    	SYS_MODFNEXT                 = 302 // { int modfnext(int modid); }
    	SYS_MODFIND                  = 303 // { int modfind(const char *name); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/kubelet/server/stats/summary_windows_test.go

    	assert.Equal(summary.Node.SystemContainers[0].CPU.UsageCoreNanoSeconds, podStats[0].CPU.UsageCoreNanoSeconds)
    	assert.Equal(summary.Node.SystemContainers[0].CPU.UsageNanoCores, podStats[0].CPU.UsageNanoCores)
    	assert.Equal(summary.Node.SystemContainers[0].Memory.WorkingSetBytes, podStats[0].Memory.WorkingSetBytes)
    	assert.Equal(summary.Node.SystemContainers[0].Memory.UsageBytes, podStats[0].Memory.UsageBytes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cadvisor_stats_provider.go

    		ref := buildPodRef(cinfo.Spec.Labels)
    
    		// Lookup the PodStats for the pod using the PodRef. If none exists,
    		// initialize a new entry.
    		podStats, found := podToStats[ref]
    		if !found {
    			podStats = &statsapi.PodStats{PodRef: ref}
    			podToStats[ref] = podStats
    		}
    
    		// Update the PodStats entry with the stats from the container by
    		// adding it to podStats.Containers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. pkg/kubelet/server/stats/summary_sys_containers_windows.go

    func (sp *summaryProviderImpl) GetSystemContainersStats(nodeConfig cm.NodeConfig, podStats []statsapi.PodStats, updateStats bool) (stats []statsapi.ContainerStats) {
    	stats = append(stats, sp.getSystemPodsCPUAndMemoryStats(nodeConfig, podStats, updateStats))
    	return stats
    }
    
    func (sp *summaryProviderImpl) GetSystemContainersCPUAndMemoryStats(nodeConfig cm.NodeConfig, podStats []statsapi.PodStats, updateStats bool) (stats []statsapi.ContainerStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/cri_stats_provider_others.go

    }
    
    func addCRIPodCPUStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
    }
    
    func addCRIPodProcessStats(ps *statsapi.PodStats, criPodStat *runtimeapi.PodSandboxStats) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 16 11:09:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/kubelet/metrics/collectors/log_metrics.go

    	return &logMetricsCollector{
    		podStats: podStats,
    	}
    }
    
    // DescribeWithStability implements the metrics.StableCollector interface.
    func (c *logMetricsCollector) DescribeWithStability(ch chan<- *metrics.Desc) {
    	ch <- descLogSize
    }
    
    // CollectWithStability implements the metrics.StableCollector interface.
    func (c *logMetricsCollector) CollectWithStability(ch chan<- metrics.Metric) {
    	podStats, err := c.podStats(context.Background())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. pkg/kubelet/server/stats/summary.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to get imageFs stats: %v", err)
    	}
    	var podStats []statsapi.PodStats
    	if updateStats {
    		podStats, err = sp.provider.ListPodStatsAndUpdateCPUNanoCoreUsage(ctx)
    	} else {
    		podStats, err = sp.provider.ListPodStats(ctx)
    	}
    	if err != nil {
    		return nil, fmt.Errorf("failed to list pod stats: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 5.1K bytes
    - Viewed (0)
Back to top