예제 #1
0
파일: sdl.go 프로젝트: beoran/fungo
// This function returns true if the CPU has the RDTSC instruction
func HasRDTRSC() bool {
	return i2b(int(C.SDL_HasRDTSC()))
}
예제 #2
0
func HasRDTSC() bool {
	return C.SDL_HasRDTSC() > 0
}
예제 #3
0
파일: cpuinfo.go 프로젝트: willemvds/sdl
func HasRDTSC() bool {
	return C.SDL_HasRDTSC() == C.SDL_TRUE
}