----- Matthieu Fertré <matthieu.fer...@free.fr> a écrit :
> Could you detail what are the numbers in the columns 1 and 2 ?

Sorry, I thought it was obvious. Paste before the figures those lines then:
CPU: Core 2, speed 3159.01 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask 
of 0x00 (Unhalted core cycles) count 100000
samples  %        image name               symbol name

Anyway, those figures were wrong. For some reason, I can't force oprofile to 
include the time taken in external symbols, in particular SDL. If we list 'per 
module', we get:
  samples|      %|
   208215 26.3824 libSDL-1.2.so.0.11.1
   114896 14.5582 no-vmlinux
    82889 10.5026 nvidia_drv.so
    48369  6.1287 wormux

So, 20% of 6% reduced by half, won't improve much anything. Even more since 
this is for x86/X11 and I can't get any figure for the actual target.

Anyway, the top five within wormux are now:
samples  %        image name               symbol name
9170     18.9584  wormux                   GetObjectAt(Vector2<int> const&)
7839     16.2067  wormux                   Surface::MergeSurface(Surface&, 
Vector2<int> const&)
1979      4.0915  wormux                   
PhysicalObj::CollidedObjectXY(Vector2<int> const&) const
1768      3.6552  wormux                   fixedpoint::fixsqrt16(long long)
1751      3.6201  wormux                   Member::ApplyMovement(member_mvt 
const&, std::vector<c_junction*, std::allocator<c_junction*> >&)

GetObjectAt is here because I let 2 AI teams play against each other.

Regards,
Christophe

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à