Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for getCpu (0.48 sec)

  1. 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)
  2. 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)
  3. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    // The 'getCPU()' parameter defines the function that should be called to
    // retrieve the list of available CPUs for the type being referenced. If two
    // NUMA nodes/sockets/cores/cpus have the same number of available CPUs, they
    // are sorted in ascending order by their id.
    func (a *cpuAccumulator) sort(ids []int, getCPUs func(ids ...int) cpuset.CPUSet) {
    	sort.Slice(ids,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  4. 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)
  5. test/codegen/stack.go

    func spillSlotReuse() {
    	// The return values of getp1 and getp2 need to be
    	// spilled around the calls to nopInt. Make sure that
    	// spill slot gets reused.
    
    	//arm64:`.*autotmp_2-8\(SP\)`
    	getp1()[nopInt()] = 0
    	//arm64:`.*autotmp_2-8\(SP\)`
    	getp2()[nopInt()] = 0
    }
    
    //go:noinline
    func nopInt() int {
    	return 0
    }
    
    //go:noinline
    func getp1() *[4]int {
    	return nil
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
        if (*result) return op.emitError("should be unique within a function");
        *result = op;
      }
      return success();
    }
    
    LogicalResult RunOnRegion(Region* region) {
      RecvTPUEmbeddingActivationsOp recv_op;
      if (failed(GetOp(region, &recv_op))) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/podresources/testing/provider_mock.go

    }
    
    // GetCPUs mocks base method.
    func (m *MockCPUsProvider) GetCPUs(podUID, containerName string) []int64 {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetCPUs", podUID, containerName)
    	ret0, _ := ret[0].([]int64)
    	return ret0
    }
    
    // GetCPUs indicates an expected call of GetCPUs.
    func (mr *MockCPUsProviderMockRecorder) GetCPUs(podUID, containerName any) *gomock.Call {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

        private static class OptionComparator implements Comparator<Option> {
            public int compare(Option opt1, Option opt2) {
                String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt();
                String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt();
                return s1.compareToIgnoreCase(s2);
            }
        }
    
        private static class CLIManagerExtension extends CLIManager {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/runtime/os_openbsd_arm.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    func checkgoarm() {
    	// TODO(minux): FP checks like in os_linux_arm.go.
    
    	// osinit not called yet, so ncpu not set: must use getncpu directly.
    	if getncpu() > 1 && goarm < 7 {
    		print("runtime: this system has multiple CPUs and must use\n")
    		print("atomic synchronization instructions. Recompile using GOARM=7.\n")
    		exit(1)
    	}
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 662 bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/ingress/status_test.go

    	assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{})
    
    	// Add it back
    	svc.Create(updated)
    	assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{"5.6.7.8"})
    
    	// Remove ingress class
    	ing.Update(&knetworking.Ingress{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "ingress",
    			Namespace: "default",
    		},
    	})
    	assert.EventuallyEqual(t, getIPs(ing, "ingress", "default"), []string{})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top