def get_system_hz():
 ticks = os.sysconf(os.sysconf_names['SC_CLK_TCK'])
 if (ticks == (-1)):
  return 100
 else:
  return ticks

def get_system_hz ( ) : ticks = os . sysconf ( os . sysconf_names [ 'SC_CLK_TCK' ] ) if ( ticks == ( - 1 ) ) : return 100 else : return ticks
return system hz use sc_clk_tck .