Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getTickCount64 (0.13 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)
  2. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	procGetThreadPreferredUILanguages                        = modkernel32.NewProc("GetThreadPreferredUILanguages")
    	procGetTickCount64                                       = modkernel32.NewProc("GetTickCount64")
    	procGetTimeZoneInformation                               = modkernel32.NewProc("GetTimeZoneInformation")
    	procGetUserPreferredUILanguages                          = modkernel32.NewProc("GetUserPreferredUILanguages")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top