Made this tool just for fun
It's opensource, do whatever you like with it. Respect the original author.

Uses the Memory engine from xSysInfo developed by me a few months ago:
Code: 
MemInfo = System.GetMemoryInfo();
MemUsageByte = CMU.GetMemoryUsageOF(Application.GetWndHandle());
CPUTotal = CMU.GetCPUsageTotal();
CPUApplication = CMU.GetCPUsageOF(Application.GetWndHandle());
local MemUsage = String.GetFormattedSize(MemUsageByte, FMTSIZE_AUTOMATIC, true);
local MbToByte = MemInfo.TotalRAM*1024*1024;
local MemUsagePercent = Math.Round(MemUsageByte/MbToByte*100);
local MemUsageTotalMB = String.GetFormattedSize(MbToByte/100*MemInfo.MemoryLoad, FMTSIZE_MB, true);
Label.SetText("APPMEM", ""..MemUsage);
Progress.SetCurrentPos("Progress1", MemInfo.MemoryLoad);
Progress.SetCurrentPos("Progress2", MemUsagePercent);
Progress.SetCurrentPos("Progress3", CPUTotal);
Progress.SetCurrentPos("Progress4", CPUApplication);
Progress.SetText("Progress1", MemInfo.MemoryLoad.." %");
Progress.SetText("Progress2", MemUsagePercent.." %");
Progress.SetText("Progress3", CPUTotal.." %");
Progress.SetText("Progress4", CPUApplication.." %");
TIME = System.GetTime(TIME_FMT_MIL);
CPU = ""..CPUTotal..""
MEM = ""..MemInfo.MemoryLoad..""
PRO = "%"
INFO = "["..TIME.."]\t\CPU: "..CPU.."% \t\MEM: "..MEM.."% "
Paragraph.SetText("LOG", INFO.."\r\n"..Paragraph.GetText("LOG"));


Features:
- Logs CPU and Memory usage in %
- Can export log to txt.

Download: http://xdc.xcoderz.net/file.php?id=27

Source (AMS7): http://xdc.xcoderz.net/file.php?id=28
l0calh0st Reviewed by l0calh0st on . [AMS] CPU/MEM Logger + Source :) Made this tool just for fun :) It's opensource, do whatever you like with it. Respect the original author. Uses the Memory engine from xSysInfo developed by me a few months ago: MemInfo = System.GetMemoryInfo(); MemUsageByte = CMU.GetMemoryUsageOF(Application.GetWndHandle()); CPUTotal = CMU.GetCPUsageTotal(); CPUApplication = CMU.GetCPUsageOF(Application.GetWndHandle()); local MemUsage = String.GetFormattedSize(MemUsageByte, FMTSIZE_AUTOMATIC, true); local MbToByte = Rating: 5