We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method Profiler Framework calculate the memory (https://github.com/wix/DetoxInstruments/blob/master/Profiler/DTXProfiler/PerformanceProfiling/DTXPerformanceSampler.m#L210)
result == KERN_SUCCESS ? task_vm_info.internal + task_vm_info.compressed : 0; It doesn't seem that precise。
result == KERN_SUCCESS ? task_vm_info.internal + task_vm_info.compressed : 0;
The memory profile method from debugserver seems more accurate.
anonymous = vm_info.internal + vm_info.compressed - vm_info.purgeable_volatile_pmap;
The value of anonymous is the same as the value of memory usage in Xcode Debug. (https://github.com/llvm-mirror/lldb/blob/master/tools/debugserver/source/MacOSX/MachVMMemory.cpp#L144)
The text was updated successfully, but these errors were encountered:
Very interesting, thank you! I will test and make the change soon.
Sorry, something went wrong.
a833272
No branches or pull requests
The method Profiler Framework calculate the memory (https://github.com/wix/DetoxInstruments/blob/master/Profiler/DTXProfiler/PerformanceProfiling/DTXPerformanceSampler.m#L210)
result == KERN_SUCCESS ? task_vm_info.internal + task_vm_info.compressed : 0;
It doesn't seem that precise。
The memory profile method from debugserver seems more accurate.
anonymous = vm_info.internal + vm_info.compressed - vm_info.purgeable_volatile_pmap;
The value of anonymous is the same as the value of memory usage in Xcode Debug.
(https://github.com/llvm-mirror/lldb/blob/master/tools/debugserver/source/MacOSX/MachVMMemory.cpp#L144)
The text was updated successfully, but these errors were encountered: