def getBusFreq():
 if importCtypesFailed:
  return False
 mib = (ctypes.c_int * 2)(CTL_HW, HW_BUS_FREQ)
 val = ctypes.c_int()
 intSize = ctypes.c_int(ctypes.sizeof(val))
 cocoa.sysctl(ctypes.byref(mib), 2, ctypes.byref(val), ctypes.byref(intSize), 0, 0)
 return val.value

def getBusFreq ( ) : if importCtypesFailed : return False mib = ( ctypes . c_int * 2 ) ( CTL_HW , HW_BUS_FREQ ) val = ctypes . c_int ( ) intSize = ctypes . c_int ( ctypes . sizeof ( val ) ) cocoa . sysctl ( ctypes . byref ( mib ) , 2 , ctypes . byref ( val ) , ctypes . byref ( intSize ) , 0 , 0 ) return val . value
get the frequency of the system bus .