Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 68 for Microseconds (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/metrics_test.go

    	name := t.Name()
    
    	t.Run("runtime.lock", func(t *testing.T) {
    		mus := make([]runtime.Mutex, 200)
    		var needContention atomic.Int64
    		delay := 100 * time.Microsecond // large relative to system noise, for comparison between clocks
    		delayMicros := delay.Microseconds()
    
    		// The goroutine that acquires the lock will only proceed when it
    		// detects that its partner is contended for the lock. That will lead to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    				})
    
    				for apiName, latency := range disk.Metrics.LastMinute {
    					metrics = append(metrics, MetricV2{
    						Description:    getNodeDriveAPILatencyMD(),
    						Value:          float64(latency.Avg().Microseconds()),
    						VariableLabels: map[string]string{"drive": disk.DrivePath, "api": "storage." + apiName},
    					})
    				}
    			}
    		}
    
    		metrics = append(metrics, MetricV2{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. src/syscall/timestruct.go

    func TimevalToNsec(tv Timeval) int64 { return tv.Nano() }
    
    // NsecToTimeval converts a number of nanoseconds into a [Timeval].
    func NsecToTimeval(nsec int64) Timeval {
    	nsec += 999 // round up to microsecond
    	usec := nsec % 1e9 / 1e3
    	sec := nsec / 1e9
    	if usec < 0 {
    		usec += 1e6
    		sec--
    	}
    	return setTimeval(sec, usec)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 958 bytes
    - Viewed (0)
  9. src/cmd/trace/viewer.go

    		return traceviewer.GRunning
    	default:
    		panic(fmt.Sprintf("unknown GoState: %s", state.String()))
    	}
    }
    
    func viewerTime(t time.Duration) float64 {
    	return float64(t) / float64(time.Microsecond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/net/timeout_test.go

    		50 * time.Nanosecond,
    		100 * time.Nanosecond,
    		200 * time.Nanosecond,
    		500 * time.Nanosecond,
    		750 * time.Nanosecond,
    		1 * time.Microsecond,
    		5 * time.Microsecond,
    		25 * time.Microsecond,
    		250 * time.Microsecond,
    		500 * time.Microsecond,
    		1 * time.Millisecond,
    		5 * time.Millisecond,
    		100 * time.Millisecond,
    		250 * time.Millisecond,
    		500 * time.Millisecond,
    		1 * time.Second,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top