[Freeciv-Dev] [patch #1482] add profiling option to --enable-debug
URL: http://gna.org/patch/?1482 Summary: add profiling option to --enable-debug Project: Freeciv Submitted by: syntron Submitted on: Mittwoch 24.02.2010 um 23:59 Category: general Priority: 3 - Low Status: None Privacy: Public Assigned to: syntron Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.3.0 ___ Details: I wanted to see that freeciv is doing all the time - and added profiling to --enable-debug. I did not analyze the data (yet). But the possibility is there after this patch. Usage: * compile freeciv with '--enable-debug=gprof' * run it (./ser); quit it normally * generate the profiling data 'gprof ./server/freeciv-server gmon.out gprof.txt' The idea comes from a mail to the freeciv-dev list by Goswin von Brederlow (title: 'multiple use of arguments in MACROS and not inlined functions' from 23.09.2009 15:18). ___ File Attachments: --- Date: Mittwoch 24.02.2010 um 23:59 Name: 20100224-trunk-add-profiling-option-to-enable-debug.patch Size: 2kB By: syntron http://gna.org/patch/download.php?file_id=8255 ___ Reply to this item at: http://gna.org/patch/?1482 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [patch #1482] add profiling option to --enable-debug
Additional Item Attachment, patch #1482 (project freeciv): File name: gprof.txt.bz2 Size:88 KB ___ Reply to this item at: http://gna.org/patch/?1482 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev