Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Microseconds (0.16 sec)

  1. pkg/kubelet/cm/helpers_linux_test.go

    }
    
    func TestResourceConfigForPodWithCustomCPUCFSQuotaPeriod(t *testing.T) {
    	defaultQuotaPeriod := uint64(100 * time.Millisecond / time.Microsecond) // in microseconds
    	tunedQuotaPeriod := uint64(5 * time.Millisecond / time.Microsecond)     // in microseconds
    	tunedQuota := int64(1 * time.Millisecond / time.Microsecond)
    
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, pkgfeatures.CPUCFSQuotaPeriod, true)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    	labels = append(labels, "api", "")
    	lastIdx := len(labels) - 1
    	for apiName, latency := range disk.Metrics.LastMinute {
    		labels[lastIdx] = "storage." + apiName
    		m.Set(driveAPILatencyMicros, float64(latency.Avg().Microseconds()),
    			labels...)
    	}
    }
    
    func (m *MetricValues) setDriveIOStatMetrics(ioStats driveIOStatMetrics, labels []string) {
    	m.Set(driveReadsPerSec, ioStats.readsPerSec, labels...)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var nextQueueName = 10000
      private var coordinatorWaiting = false
      private var coordinatorWakeUpAt = 0L
    
      /**
       * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. src/time/time.go

    		}
    	}
    	return w
    }
    
    // Nanoseconds returns the duration as an integer nanosecond count.
    func (d Duration) Nanoseconds() int64 { return int64(d) }
    
    // Microseconds returns the duration as an integer microsecond count.
    func (d Duration) Microseconds() int64 { return int64(d) / 1e3 }
    
    // Milliseconds returns the duration as an integer millisecond count.
    func (d Duration) Milliseconds() int64 { return int64(d) / 1e6 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/container_manager_linux.go

    			enforceCPULimits:  cm.EnforceCPULimits,
    			// cpuCFSQuotaPeriod is in microseconds. NodeConfig.CPUCFSQuotaPeriod is time.Duration (measured in nano seconds).
    			// Convert (cm.CPUCFSQuotaPeriod) [nanoseconds] / time.Microsecond (1000) to get cpuCFSQuotaPeriod in microseconds.
    			cpuCFSQuotaPeriod: uint64(cm.CPUCFSQuotaPeriod / time.Microsecond),
    		}
    	}
    	return &podContainerManagerNoop{
    		cgroupRoot: cm.cgroupRoot,
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    			// kubeGenericRuntimeManager.cpuCFSQuotaPeriod is provided in time.Duration,
    			// but we need to convert it to number of microseconds which is used by kernel.
    			cpuPeriod = int64(m.cpuCFSQuotaPeriod.Duration / time.Microsecond)
    		}
    		cpuQuota := milliCPUToQuota(cpuLimit.MilliValue(), cpuPeriod)
    		resources.CpuQuota = cpuQuota
    		resources.CpuPeriod = cpuPeriod
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    Instead of that, by being an "asynchronous" system, once finished, the task can wait in line a little bit (some microseconds) for the computer / program to finish whatever it went to do, and then come back to take the results and continue working with them.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/networkfilter_test.go

    		}
    		if redisProxy.StatPrefix != "redis" {
    			t.Errorf("redis proxy statPrefix is %s", redisProxy.StatPrefix)
    		}
    		if !redisProxy.LatencyInMicros {
    			t.Errorf("redis proxy latency stat is not configured for microseconds")
    		}
    		if redisProxy.PrefixRoutes.CatchAllRoute.Cluster != "redis-cluster" {
    			t.Errorf("redis proxy's PrefixRoutes.CatchAllCluster is %s", redisProxy.PrefixRoutes.CatchAllRoute.Cluster)
    		}
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/bigger-applications.md

        So, behind the scenes, it will actually work as if everything was the same single app.
    
    !!! check
        You don't have to worry about performance when including routers.
    
        This will take microseconds and will only happen at startup.
    
        So it won't affect performance. ⚡
    
    ### Include an `APIRouter` with a custom `prefix`, `tags`, `responses`, and `dependencies`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. src/time/time_test.go

    	{"1.0040s", 1*Second + 4*Millisecond},
    	{"100.00100s", 100*Second + 1*Millisecond},
    	// different units
    	{"10ns", 10 * Nanosecond},
    	{"11us", 11 * Microsecond},
    	{"12µs", 12 * Microsecond}, // U+00B5
    	{"12μs", 12 * Microsecond}, // U+03BC
    	{"13ms", 13 * Millisecond},
    	{"14s", 14 * Second},
    	{"15m", 15 * Minute},
    	{"16h", 16 * Hour},
    	// composite durations
    	{"3h30m", 3*Hour + 30*Minute},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top