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