Skip to content

FancyStat is a stat add on for your working allocator.c implementation.

License

Notifications You must be signed in to change notification settings

alencool/FancyStat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

FancyStat

FancyStat is a stat add on for your working allocator.c implementation, and displays hopefully a useful 2d diagram of the managed memory from allocator.c

Alt text

FancyStat is distributed using the GNU General Public License.

Installation:

  1. Add #include "fancystat.c" at the very bottom of your working allocator.c
  2. Edit line 105 of run_sal.c from:
       else if (line[0] == '!') 
         sal_stats();
    
    To:
    else if (line[0] == '!') 
     sal_stats2(ptr);
    


    Edit line 53 of allocator.h from
    void sal_stats(void);
    

    To:
    ``` void sal_stats(void); void sal_stats2(void * alpha[26]); ```
  3. Run make
  4. Enjoy!

Requirements

FancyStat has the following dependencies:

About

FancyStat is a stat add on for your working allocator.c implementation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages