@GetSysMemInfo
Syntax
@GetSysMemInfo(RetFNWorkingSet;RetFNPeakWorkingSet;RetFNPageFileUsage;RetFNPeakPageFileUsage);
Description
Returns operating-system-specific information about the memory usage of the Engine process.
FN RetFNWorkingSet
This parameter returns the current total memory usage (RAM) of the Engine process.
FN RetFNPeakWorkingSet
This parameter returns the previous maximum total memory usage (RAM) of the Engine process.
FN RetFNPageFileUsage
This parameter returns the current page-file usage by the Engine process.
FN RetFNPeakPageFileUsage
This parameter returns the previous maximum page-file usage by the Engine process.
Only for Engine under Windows!
Beispiel: @GetSysMemInfo(RetFNWorkingSet;RetFNPeakWorkingSet;RetFNPageFileUsage;RetFNPeakPageFileUsage);
MB:=1024*1024;
Ret:=@GetSysMemInfo(RetFNWorkingSet;RetFNPeakWorkingSet;RetFNPageFileUsage;RetFNPeakPageFileUsage);
@LogReport(Ret);
@LogReport(" Working Set : "+@NumberToText(RetFNWorkingSet/MB;3));
@LogReport("Peak Working Set : "+@NumberToText(RetFNPeakWorkingSet/MB;3));
@LogReport(" Page File Usage : "+@NumberToText(RetFNPageFileUsage/MB;3));
@LogReport("Peak Page File Usage : "+@NumberToText(RetFNPeakPageFileUsage/MB;3));
Note : This text was machine-translated and may contain inaccuracies.
