Exemple #1
0
        protected override void OnSample()
        {
#if GPERF_XLUA
            LuaEnv luaEnv = GPerfMonitor.GetInstance().XLuaEnv;
            if (luaEnv != null)
            {
                record.TotalMem = luaEnv.GetTotalMemory();
            }
#endif
        }