Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2018-03-16 00:08:31
Size: 365
Editor: BevinBrett
Comment:
Revision 5 as of 2021-09-22 09:54:36
Size: 773
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== THIS PAGE HAS BEEN MOVED TO SHAREPOINT! ==
Please refer to this site/make edits here for the most updated information: https://partnershealthcare.sharepoint.com/sites/LCN/SitePages/Morpho-Optimization-Project.aspx

----
<<BR>>
<<BR>>
<<BR>>

Line 3: Line 12:
Editing include/base.h will enable #define's of ''malloc'' et. al., that will cause their calls to be expanded to calling ''malloc_here'' and similar functions that count the calls from each call site into a table. To see a summary of the various calls to malloc et. al., editing include/base.h and enable the #define's of ''malloc'' et. al., then rebuild. This will cause their calls to be expanded to calling ''malloc_here'' and similar functions that count the calls from each call site into a table. The table is then sorted and written during process exit.
Line 5: Line 14:
The table is then sorted and written during process exit.
Line 7: Line 15:

To enable much more sophisticated malloc debugging, edit utils/mgh_malloc.c

THIS PAGE HAS BEEN MOVED TO SHAREPOINT!

Please refer to this site/make edits here for the most updated information: https://partnershealthcare.sharepoint.com/sites/LCN/SitePages/Morpho-Optimization-Project.aspx





Parent: MorphoOptimizationProject

To see a summary of the various calls to malloc et. al., editing include/base.h and enable the #define's of malloc et. al., then rebuild. This will cause their calls to be expanded to calling malloc_here and similar functions that count the calls from each call site into a table. The table is then sorted and written during process exit.

To do: integrate this table with the ROMP tree...

To enable much more sophisticated malloc debugging, edit utils/mgh_malloc.c

MorphoOptimizationProject_malloc (last edited 2021-09-22 09:54:36 by DevaniCordero)