On Sun, Jul 4, 2010 at 10:47 PM, Matthias Pfafferodt
<no-reply.invalid-addr...@gna.org> wrote:
> Follow-up Comment #2, patch #1733 (project freeciv):
>> - When playing with a lot of AI players with the largest map
>> size, ending a turn takes quite a lot of time.
>
> That's the real problem. You could try to compile using '--enable-gprof' to
> get profiling data (see patch #1707). I do not know how to fix this ...

I think in a memory-intensive program like freeciv you might get more
accurate profiling data with something like oprofile with a sampling
rate low enough not to disturb the CPU's cache too much.

IIRC when I last did an oprofile on my PC (an old one!) something like
1/3 of client time was spent just picking the next unit to focus.  I
never got around to investigating the AI's cycle footprint.

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to