Exemple #1
0
        protected override CalculatorValue OnCalc(IList <CalculatorValue> operands)
        {
            string info = string.Format("pss:{0} n:{1} g:{2} u:{3} j:{4} c:{5} t:{6} s:{7} vss:{8}", MemoryInfo.GetAppMemory(), MemoryInfo.GetNativeMemory(), MemoryInfo.GetGraphicsMemory(), MemoryInfo.GetUnknownMemory(), MemoryInfo.GetJavaMemory(), MemoryInfo.GetCodeMemory(), MemoryInfo.GetStackMemory(), MemoryInfo.GetSystemMemory(), MemoryInfo.GetVssMemory());

            Debug.LogFormat("{0}", info);
            return(info);
        }
Exemple #2
0
 protected override CalculatorValue OnCalc(IList <CalculatorValue> operands)
 {
     return(MemoryInfo.GetSystemMemory());
 }