> Okay, so memprof just doesn't provide the feature that I need: > For this silly example, I'd like it to tell me that main() allocated > 1024 bytes in total.
If you're running on Linux, you might want to look at valgrind. If you run: valgrind --tool=massif your_prog then it generates a .txt and a postscript .ps describing memory use over the life of the program. Not sure if it gives the exact detail you're after, but it sounds closer. regards, jb _______________________________________________ memprof-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/memprof-list
