///////////////////////////////////////////for client
 public string getSysInfo()
 {
     while (settings.IPClocked)
     {
         Thread.Sleep(100);
     }
     return(checker.autofilterPWR(checker.getPWR()) + " " + checker.getLoad() + " " + checker.getTemp() + " " + checker.lastprocname
            + " " + settings.new_acc_msec.ToString() + " " + settings.bc_acc_msec.ToString() + " " + settings.resur_acc_msec.ToString()
            + " " + controller.wrong.ToString());
 }
Example #2
0
        //prevent slowdown on high cpu apps by delaying
        public void XTUdaemon(SettingsManager sm, TweakerChecker tc)
        {
            int currpwr = tc.autofilterPWR(tc.getPWR());
            int load    = tc.getLoad();

            if (load >= (int)sm.throttle_median.configList["throttle_median"])
            {
                xtuapplynested = false;
                return;
            }
            if (xtuapplyvalue != 0.0)
            {
                xtuapplynested = true;
            }
        }