mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			154 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			154 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build cgo,linux cgo,freebsd
 | |
| 
 | |
| package system
 | |
| 
 | |
| /*
 | |
| #include <unistd.h>
 | |
| */
 | |
| import "C"
 | |
| 
 | |
| func GetClockTicks() int {
 | |
| 	return int(C.sysconf(C._SC_CLK_TCK))
 | |
| }
 | 
