Beispiel #1
0
// This function returns true if the CPU has the RDTSC instruction
func HasRDTRSC() bool {
	return i2b(int(C.SDL_HasRDTSC()))
}
Beispiel #2
0
func HasRDTSC() bool {
	return C.SDL_HasRDTSC() > 0
}
Beispiel #3
0
func HasRDTSC() bool {
	return C.SDL_HasRDTSC() == C.SDL_TRUE
}