- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 31 for getncpu (0.12 sec)
-
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
final OsCpuObj osCpuObj = new OsCpuObj(); osObj.cpu = osCpuObj; osCpuObj.percent = osProbe.getSystemCpuPercent(); final OsStats osStats = osProbe.osStats(); osObj.loadAverages = osStats.getCpu().getLoadAverage(); return osObj; } private EngineObj getEngineObj() { final EngineObj engineObj = new EngineObj(); try {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_windows.go
return &noopWindowsResourceAllocator{} } func (cm *containerManagerImpl) UpdateAllocatedDevices() { return } func (cm *containerManagerImpl) GetCPUs(_, _ string) []int64 { return nil } func (cm *containerManagerImpl) GetAllocatableCPUs() []int64 { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 12 11:25:36 UTC 2023 - 8.7K bytes - Viewed (0) -
src/internal/syscall/windows/zsyscall_windows.go
procGetAdaptersAddresses = modiphlpapi.NewProc("GetAdaptersAddresses") procCreateEventW = modkernel32.NewProc("CreateEventW") procGetACP = modkernel32.NewProc("GetACP") procGetComputerNameExW = modkernel32.NewProc("GetComputerNameExW") procGetConsoleCP = modkernel32.NewProc("GetConsoleCP")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 18.4K bytes - Viewed (0) -
cmd/peer-rest-client.go
resp, err := serverInfoRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{peerRESTMetrics: strconv.FormatBool(metrics)})) return resp.ValueOrZero(), err } // GetCPUs - fetch CPU information for a remote node. func (client *peerRESTClient) GetCPUs(ctx context.Context) (info madmin.CPUs, err error) { resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/notification.go
if nErr.Err != nil { peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String()) } } } // GetCPUs - Get all CPU information. func (sys *NotificationSys) GetCPUs(ctx context.Context) []madmin.CPUs { reply := make([]madmin.CPUs, len(sys.peerClients)) g := errgroup.WithNErrs(len(sys.peerClients)) for index, client := range sys.peerClients {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux.go
} func int64Slice(in []int) []int64 { out := make([]int64, len(in)) for i := range in { out[i] = int64(in[i]) } return out } func (cm *containerManagerImpl) GetCPUs(podUID, containerName string) []int64 { if cm.cpuManager != nil { return int64Slice(cm.cpuManager.GetExclusiveCPUs(podUID, containerName).UnsortedList()) } return []int64{} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 35.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go
//sys GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) = iphlpapi.GetAdaptersAddresses //sys GetACP() (acp uint32) = kernel32.GetACP //sys MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 82.8K bytes - Viewed (0) -
cmd/admin-handlers.go
} } getAndWriteCPUs := func() { if query.Get("syscpu") == "true" { localCPUInfo := madmin.GetCPUs(healthCtx, globalLocalNodeName) anonymizeAddr(&localCPUInfo) healthInfo.Sys.CPUInfo = append(healthInfo.Sys.CPUInfo, localCPUInfo) peerCPUInfo := globalNotificationSys.GetCPUs(healthCtx) for _, cpuInfo := range peerCPUInfo { anonymizeAddr(&cpuInfo)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
cmd/peer-rest-server.go
return madminServerProperties.NewJSONWith(&info), nil } // GetCPUsHandler - returns CPU info. func (s *peerRESTServer) GetCPUsHandler(_ *grid.MSS) (*grid.JSON[madmin.CPUs], *grid.RemoteErr) { info := madmin.GetCPUs(context.Background(), globalLocalNodeName) return madminCPUs.NewJSONWith(&info), nil } // GetNetInfoHandler - returns network information.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/values_types.pb.go
if x != nil { return x.Memory } return nil } // Deprecated: Marked as deprecated in pkg/apis/istio/v1alpha1/values_types.proto. func (x *EgressGatewayConfig) GetCpu() *TargetUtilizationConfig { if x != nil { return x.Cpu } return nil } func (x *EgressGatewayConfig) GetCustomService() *wrapperspb.BoolValue { if x != nil { return x.CustomService
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 01:55:05 UTC 2024 - 329.6K bytes - Viewed (0)