glob2-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [glob2-devel] Echo Gradient Optmization


From: Cyrille Dunant
Subject: Re: [glob2-devel] Echo Gradient Optmization
Date: Fri, 7 Jul 2006 07:19:45 +0200
User-agent: KMail/1.9.3

On Friday 07 July 2006 02:32, Bradley Arsenault wrote:
> I'm having a hard time keeping the cpu usage of my new echo AI system
> down. I've been doing most profiles of echo, and too my great
> surprise, Echo uses arround 20% of the cpu with full optmizations. In
> comparison, Nicowar uses 5% of the cpu, and Castor uses arround 0.6%
> (all with optmizations). I figured it could be becaues Echo used 32
> bit integers for its gradient (I hadn't yet changed that), so I
> decided to profile various integers on my system. Keep in mind that I
> reduced the delay in Engine.cpp to make the game run faster, so Echo
> uses about half as much the total cpu time:

Have you tried running the code in valgrind-callgrind ?

I believe there is a non-graphical mode for glob2 made expressely for that 
purpose.

CU

 -- CFD 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]