 dd9309c15e
			
		
	
	dd9309c15e
	
	
	
		
			
			Initial vendor list validated with empty $GOPATH and only master checked out; followed by `make` and verified that all binaries build properly. Updates require github.com/LK4D4/vndr tool. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
		
			
				
	
	
		
			16 lines
		
	
	
		
			469 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			469 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build !cgo windows
 | |
| 
 | |
| package system
 | |
| 
 | |
| func GetClockTicks() int {
 | |
| 	// TODO figure out a better alternative for platforms where we're missing cgo
 | |
| 	//
 | |
| 	// TODO Windows. This could be implemented using Win32 QueryPerformanceFrequency().
 | |
| 	// https://msdn.microsoft.com/en-us/library/windows/desktop/ms644905(v=vs.85).aspx
 | |
| 	//
 | |
| 	// An example of its usage can be found here.
 | |
| 	// https://msdn.microsoft.com/en-us/library/windows/desktop/dn553408(v=vs.85).aspx
 | |
| 
 | |
| 	return 100
 | |
| }
 |