Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 448 for osStats (6.39 sec)

  1. pkg/kubelet/stats/cri_stats_provider.go

    	}
    	if stats.Cpu != nil {
    		result.CPU.Time = metav1.NewTime(time.Unix(0, stats.Cpu.Timestamp))
    		if stats.Cpu.UsageCoreNanoSeconds != nil {
    			result.CPU.UsageCoreNanoSeconds = &stats.Cpu.UsageCoreNanoSeconds.Value
    		}
    		var usageNanoCores *uint64
    		if updateCPUNanoCoreUsage {
    			usageNanoCores = p.getAndUpdateContainerUsageNanoCores(stats)
    		} else {
    			usageNanoCores = p.getContainerUsageNanoCores(stats)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  2. src/os/stat_unix.go

    	return &fs, nil
    }
    
    // statNolog stats a file with no test logging.
    func statNolog(name string) (FileInfo, error) {
    	var fs fileStat
    	err := ignoringEINTR(func() error {
    		return syscall.Stat(name, &fs.sys)
    	})
    	if err != nil {
    		return nil, &PathError{Op: "stat", Path: name, Err: err}
    	}
    	fillFileStatFromSys(&fs, name)
    	return &fs, nil
    }
    
    // lstatNolog lstats a file with no test logging.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. pkg/kubelet/server/stats/volume_stat_calculator.go

    	}
    
    	volumeStats := stats.VolumeStats{
    		Name:   podName,
    		PVCRef: pvcRef,
    		FsStats: stats.FsStats{Time: metric.Time, AvailableBytes: &available, CapacityBytes: &capacity,
    			UsedBytes: &used, Inodes: &inodes, InodesFree: &inodesFree, InodesUsed: &inodesUsed},
    	}
    
    	if metric.Abnormal != nil {
    		volumeStats.VolumeHealthStats = &stats.VolumeHealthStats{
    			Abnormal: *metric.Abnormal,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 29 00:55:10 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    			AvailableBytes:  toP(memoryUsageAvailableBytes),
    			WorkingSetBytes: toP(memoryUsageWorkingSetBytes),
    			PageFaults:      toP(memoryUsagePageFaults),
    		},
    		Rootfs: &statsapi.FsStats{},
    		Logs: &statsapi.FsStats{
    			Time:       c0LogStats.Time,
    			UsedBytes:  toP(logStatsUsed),
    			InodesUsed: toP(logStatsInodesUsed),
    		},
    	}
    
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. pkg/kubelet/images/image_gc_manager.go

    		return err
    	}
    
    	// Get disk usage on disk holding images.
    	fsStats, _, err := im.statsProvider.ImageFsStats(ctx)
    	if err != nil {
    		return err
    	}
    
    	var capacity, available int64
    	if fsStats.CapacityBytes != nil {
    		capacity = int64(*fsStats.CapacityBytes)
    	}
    	if fsStats.AvailableBytes != nil {
    		available = int64(*fsStats.AvailableBytes)
    	}
    
    	if available > capacity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt.stats

    Feng Liu <******@****.***> 1570514267 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 10:14:32 UTC 2019
    - 88 bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/helpers.go

    func diskUsage(fsStats *statsapi.FsStats) *resource.Quantity {
    	if fsStats == nil || fsStats.UsedBytes == nil {
    		return &resource.Quantity{Format: resource.BinarySI}
    	}
    	usage := int64(*fsStats.UsedBytes)
    	return resource.NewQuantity(usage, resource.BinarySI)
    }
    
    // inodeUsage converts inodes consumed into a resource quantity.
    func inodeUsage(fsStats *statsapi.FsStats) *resource.Quantity {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  8. src/sync/pool_test.go

    	var mstats runtime.MemStats
    	var pauses []uint64
    
    	var p Pool
    	for i := 0; i < b.N; i++ {
    		// Put a large number of items into a pool.
    		const N = 100000
    		var item any = 42
    		for i := 0; i < N; i++ {
    			p.Put(item)
    		}
    		// Do a GC.
    		runtime.GC()
    		// Record pause time.
    		runtime.ReadMemStats(&mstats)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. releasenotes/notes/grpc-stats.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: telemetry
    issue:
      - 43908
      - 44144
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 04 01:47:33 UTC 2023
    - 158 bytes
    - Viewed (0)
  10. releasenotes/notes/native-stats.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: telemetry
    releaseNotes:
    - |
      **Updated** Telemetry API uses a new native extension for Prometheus stats
      instead of the Wasm-based extension. This improves CPU overhead and memory
      usage of the feature. Custom dimensions no longer require regex and bootstrap
      annotations. If customizations use CEL expressions with Wasm attributes, they
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 21 16:00:46 UTC 2022
    - 420 bytes
    - Viewed (0)
Back to top