Files
UnrealEngineUWP/Engine/Source/Programs
michael sartain 519d35a87f Add USE_PROC_SELF_SMAPS_ROLLUP define for FUnixPlatformMemory::GetExtendedStats
Set to 1 if we should try to use /proc/self/smaps_rollup in FUnixPlatformMemory::GetExtendedStats().
There is a potential tradeoff in that smaps_rollup appears to be quite a bit faster in
straight testing, but it also looks like it blocks mmap() calls on other threads until it finishes.

Also move /proc/self/smaps code to use open/read/close and read + parse in 512 byte chunks instead of
fopen to avoid malloc calls in fopen/fgets.

[REVIEW] [at]Brandon.Schaefer, [at]Ilya.Loshchinin
#preflight trivial

#ROBOMERGE-OWNER: michael.sartain
#ROBOMERGE-AUTHOR: michael.sartain
#ROBOMERGE-SOURCE: CL 19001314 via CL 19004045 via CL 19004552 via CL 19005213 via CL 19008130 via CL 19008739
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)
#ROBOMERGE-CONFLICT from-shelf

[CL 19009893 by michael sartain in ue5-main branch]
2022-02-15 22:27:38 -05:00
..
2022-02-09 08:31:41 -05:00
2022-01-20 04:04:49 -05:00