Skip to content

codeinred/mp_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mp_reader: an analyzer for mem_profile

This repo holds the implementation of mp_reader, which is an analyzer for the files output by mem_profile.

mem_profile: an Ownership-Aware Memory Profiler

mem_profile is an ownership-aware memory profiler, designed for direct measurement of objects and their members.

What does this mean?

When a program is executed with mem_profile, we can see the number of bytes allocated by types within the program.

alt text

Above is some sample output, produced by the analyzer (mp_reader, this project).

This is a toy example, but mem_profile is designed for use with complex workloads, and has been tested on projects involving hundreds or even thousands of translation units.

For instance, here's an output of type-level stats from profiling an FTXUI demo application:

alt text

And here's output from profiling CMake:

alt text

For more information, see the mem_profile repo!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages