Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getTickCount64 (0.11 sec)

  1. pkg/kubelet/util/util_windows.go

    	pipePart := "pipe"
    	pipeName := "kubelet-" + podResourcesDir
    	return npipeProtocol + "://" + filepath.Join(serverPart, pipePart, pipeName), nil
    }
    
    var tickCount = syscall.NewLazyDLL("kernel32.dll").NewProc("GetTickCount64")
    
    // GetBootTime returns the time at which the machine was started, truncated to the nearest second
    func GetBootTime() (time.Time, error) {
    	currentTime := time.Now()
    	output, _, err := tickCount.Call()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top