Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,363 for statx (0.05 sec)

  1. src/time/sleep_test.go

    			j := j
    			expectedWakeup := Now().Add(delay)
    			AfterFunc(delay, func() {
    				late := Since(expectedWakeup)
    				if late < 0 {
    					late = 0
    				}
    				stats[j].count++
    				stats[j].sum += float64(late.Nanoseconds())
    				if late > stats[j].max {
    					stats[j].max = late
    				}
    				atomic.AddInt32(&count, 1)
    				for atomic.LoadInt32(&count) < int32(timerCount) {
    					// spin until all timers fired
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:33:57 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/eviction_manager.go

    	// nodeRef is a reference to the node
    	nodeRef *v1.ObjectReference
    	// used to record events about the node
    	recorder record.EventRecorder
    	// used to measure usage stats on system
    	summaryProvider stats.SummaryProvider
    	// records when a threshold was first observed
    	thresholdsFirstObservedAt thresholdsObservedAt
    	// records the set of thresholds that have been met (including graceperiod) but not yet resolved
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet.go

    		const waitingReason = "Blocked"
    		for _, cs := range apiPodStatus.InitContainerStatuses {
    			if cs.State.Waiting != nil {
    				cs.State.Waiting.Reason = waitingReason
    			}
    		}
    		for _, cs := range apiPodStatus.ContainerStatuses {
    			if cs.State.Waiting != nil {
    				cs.State.Waiting.Reason = waitingReason
    			}
    		}
    	}
    
    	// Record the time it takes for the pod to become running
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  4. internal/disk/disk.go

    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    	Rotational *bool
    	NRRequests uint64
    }
    
    // IOStats contains stats of a single drive
    type IOStats struct {
    	ReadIOs        uint64
    	ReadMerges     uint64
    	ReadSectors    uint64
    	ReadTicks      uint64
    	WriteIOs       uint64
    	WriteMerges    uint64
    	WriteSectors   uint64
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. internal/disk/stat_windows.go

    //
    // https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    func GetInfo(path string, _ bool) (info Info, err error) {
    	// Stat to know if the path exists.
    	if _, err = os.Stat(path); err != nil {
    		return Info{}, err
    	}
    
    	lpFreeBytesAvailable := int64(0)
    	lpTotalNumberOfBytes := int64(0)
    	lpTotalNumberOfFreeBytes := int64(0)
    
    	// Extract values safely
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/runtime/mcache.go

    	if s == nil {
    		throw("out of memory")
    	}
    
    	// Count the alloc in consistent, external stats.
    	stats := memstats.heapStats.acquire()
    	atomic.Xadd64(&stats.largeAlloc, int64(npages*pageSize))
    	atomic.Xadd64(&stats.largeAllocCount, 1)
    	memstats.heapStats.release()
    
    	// Count the alloc in inconsistent, internal stats.
    	gcController.totalAlloc.Add(int64(npages * pageSize))
    
    	// Update heapLive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-drive.go

    	driveRealtimeMetrics := collectLocalMetrics(types, collectMetricsOpts{
    		hosts: map[string]struct{}{
    			globalLocalNodeName: {},
    		},
    	})
    
    	stats := map[string]madmin.DiskIOStats{}
    	for d, m := range driveRealtimeMetrics.ByDisk {
    		stats[d] = m.IOStats
    	}
    	return stats
    }
    
    func (m *MetricValues) setDriveBasicMetrics(drive madmin.Disk, labels []string) {
    	m.Set(driveUsedBytes, float64(drive.UsedSpace), 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)
  8. src/runtime/arena.go

    	// Update consistent stats to match.
    	//
    	// We're non-preemptible, so it's safe to update consistent stats (our P
    	// won't change out from under us).
    	stats := memstats.heapStats.acquire()
    	atomic.Xaddint64(&stats.committed, -int64(s.npages*pageSize))
    	atomic.Xaddint64(&stats.inHeap, -int64(s.npages*pageSize))
    	atomic.Xadd64(&stats.largeFreeCount, 1)
    	atomic.Xadd64(&stats.largeFree, int64(s.elemsize))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  9. pkg/kubelet/winstats/perfcounter_nodestats.go

    	// https://www.kernel.org/doc/Documentation/filesystems/proc.txt
    	var statex MemoryStatusEx
    	statex.Length = uint32(unsafe.Sizeof(statex))
    	ret, _, _ := procGlobalMemoryStatusEx.Call(uintptr(unsafe.Pointer(&statex)))
    
    	if ret == 0 {
    		return 0, errors.New("unable to read physical memory")
    	}
    
    	return statex.TotalPhys, nil
    }
    
    func getBootID() (string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 18:37:21 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    			pl, state.reqsGaugePair, state.execSeatsObs,
    			metrics.NewUnionGauge(state.seatDemandIntegrator, state.seatDemandRatioedGauge))
    		if err != nil {
    			klog.Warningf("Ignoring PriorityLevelConfiguration object %s because its spec (%s) is broken: %s", pl.Name, fcfmt.Fmt(pl.Spec), err)
    			continue
    		}
    		meal.newPLStates[pl.Name] = state
    		state.pl = pl
    		state.qsCompleter = qsCompleter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
Back to top