Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getncpu (0.24 sec)

  1. src/runtime/os_openbsd.go

    		return 0, false
    	}
    	return out, true
    }
    
    //go:linkname internal_cpu_sysctlUint64 internal/cpu.sysctlUint64
    func internal_cpu_sysctlUint64(mib []uint32) (uint64, bool) {
    	return sysctlUint64(mib)
    }
    
    func getncpu() int32 {
    	// Try hw.ncpuonline first because hw.ncpu would report a number twice as
    	// high as the actual CPUs running on OpenBSD 6.4 with hyperthreading
    	// disabled (hw.smt=0). See https://golang.org/issue/30127
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            append(buf, "percent", () -> osProbe.getSystemCpuPercent());
            final OsStats osStats = osProbe.osStats();
            buf.append("},");
            append(buf, "load_averages", () -> osStats.getCpu().getLoadAverage());
            buf.append("},");
        }
    
        private void appendFesenStats(final StringBuilder buf) {
            String stats = null;
            try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/podresources/server_v1.go

    	containerResources := &podresourcesv1.ContainerResources{
    		Name:    container.Name,
    		Devices: p.devicesProvider.GetDevices(string(pod.UID), container.Name),
    		CpuIds:  p.cpusProvider.GetCPUs(string(pod.UID), container.Name),
    		Memory:  p.memoryProvider.GetMemory(string(pod.UID), container.Name),
    	}
    	if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.KubeletPodResourcesDynamicResources) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 13:00:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top