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

Reply via email to