public static long getMaxCpuFreq()
{
#if ( !UNITY_EDITOR && UNITY_ANDROID )
if (_lMaxCpuFreq == 1024)
{
try
{
AndroidJavaClass unityPluginLoader = new AndroidJavaClass("java类全名");
_lMaxCpuFreq = unityPluginLoader.CallStatic<int>("getMaxCpuFreq");
}
catch (Exception e)
{
}
}
#endif
return _lMaxCpuFreq;
}