github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/mergeCode/runc/libcontainer/system/sysconfig_notcgo.go (about)

     1  // +build !cgo windows
     2  
     3  package system
     4  
     5  func GetClockTicks() int {
     6  	// TODO figure out a better alternative for platforms where we're missing cgo
     7  	//
     8  	// TODO Windows. This could be implemented using Win32 QueryPerformanceFrequency().
     9  	// https://msdn.microsoft.com/en-us/library/windows/desktop/ms644905(v=vs.85).aspx
    10  	//
    11  	// An example of its usage can be found here.
    12  	// https://msdn.microsoft.com/en-us/library/windows/desktop/dn553408(v=vs.85).aspx
    13  
    14  	return 100
    15  }