Hi, On 08/03/2012 11:03 PM, ext Jonathan Wilson wrote:
6.My tool may leak resources (e.g. not closing handles properly) where the Nokia tool does not (or in some cases the Nokia tool may leak resources that my tool does not)
AFAIK there are no known leaks with these Nokia tools. To measure and graph resource usage changes in the whole system, you can use sp-endurance: http://wiki.maemo.org/Documentation/devtools/maemo5/sp-endurance http://wiki.maemo.org/Documentation/devtools/maemo5/sp-endurance-postproc The docs for the newer Harmattan version are here: http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Developer_tools_Performance_testing_tools_Using_sp-endurance.html http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Developer_tools_Performance_testing_tools_Using_sp-endurance-postproc.html To analyze the leakage... If it's about memory, Valgrind Memcheck and Massif tools might help you if pointers are lost or leak is large: http://wiki.maemo.org/Documentation/devtools/maemo5/valgrind For smaller and non-memory leaks sp-rtrace & functracer are most likely best alternatives: http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Developer_tools_Debugging_tools_Using_functracer.html http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Developer_tools_Debugging_tools_Using_sp-rtrace.html http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Developer_tools_Debugging_tools_Using_sp-rtrace-visualize.html Sources for the sp-* tools are here: https://maemo.gitorious.org/maemo-tools (Debian/Maemo packaging is typically in the "maemo-packaging" branch.) - Eero _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers