|
From: Peter T. <pt...@li...> - 2014-11-20 08:53:38
|
whooa - wrapping killed the text. The nice ASCII diagram can be seen at http://pastebin.com/HS5CVd4s --- Peter Toft <pt...@li...> Peter Toft skrev den 2014-11-20 09:04: > Hi all > > One thing that I often is missing with valgrind/massif is a way to know > know where I roughly am in my code when I see a given memory peak. > > I could envision to add a valgrind-macro or alike in my C-code to > indicate where I am in my code add (tentative syntax) > > VALGRIND_MASSIF("calculator1()") > > and another place > > VALGRIND_MASSIF("reduceMem - middle") > > > Then the ms_print output should indicate (see the % signs) when in the > code flow that we had this function call executed. |