Here is another case with 4x10 teams (1 Human) for comparison. Game
wasn't really playable because screen updates were quite random and
computer wasn't able to make a single shot (or at least I didn't see
one) because it run out of thinking time.

Counted GPTIMER_CYCLES events (32KiHz timer clock cycles between
interrupts) with a unit mask of 0x00 (No unit mask) count 16
samples  %        image name               symbol name
219063   28.6699  libgcc_s.so.1            /lib/libgcc_s.so.1
65171     8.5293  wormux
PhysicalObj::CollidedObjectXY(Vector2<int> const&) const
57502     7.5256  libstdc++.so.6.0.9       /usr/lib/libstdc++.so.6.0.9
56326     7.3717  libc-2.5.so              /lib/libc-2.5.so
52492     6.8699  no-vmlinux               /no-vmlinux
48503     6.3478  wormux
Member::ApplyMovement(member_mvt const&, std::vector<c_junction*,
std::allocator<c_junction*> >&)
37114     4.8573  wormux                   SpriteAnimation::Update()
30184     3.9503  wormux                   long long
fixedpoint::float2fix<16>(float)
26248     3.4352  wormux                   Member::RefreshSprite(LRDirection)
18582     2.4319  wormux
Sprite::SetRotation_rad(fixedpoint::fixed_point<16>)
11287     1.4772  wormux                   SpriteCache::InvalidLastFrame()
10511     1.3756  wormux                   .plt
9768      1.2784  wormux                   Body::RefreshSprites()
7074      0.9258  wormux                   fixedpoint::fixsin16(long long)
6517      0.8529  wormux                   Body::Build()
5445      0.7126  wormux                   Member::ApplySqueleton(Member*)
4913      0.6430  libSDL_gfx.so.13.5.1     /usr/lib/libSDL_gfx.so.13.5.1
4907      0.6422  wormux                   fixedpoint::fixsqrt16(long long)
4872      0.6376  wormux                   Team::ReadEnergy() const
4723      0.6181  wormux                   Character::Refresh()
4434      0.5803  wormux
PhysicalObj::IsOverlapping(PhysicalObj const*) const
4416      0.5779  libSDL-1.2.so.0.11.1     BlitNtoNPixelAlpha
4273      0.5592  wormux                   Tile::IsEmpty(Vector2<int>
const&) const
3729      0.4880  wormux                   std::_Rb_tree<std::string,
std::pair<std::string const,
std::vector<Vector2<fixedpoint::fixed_point<16> >,
std::allocator<Vector2<fixedpoint::fixed_point<16> > > > >,
std::_Select1st<std::pair<std::string const,
std::vector<Vector2<fixedpoint::fixed_point<16> >,
std::allocator<Vector2<fixedpoint::fixed_point<16> > > > > >,
std::less<std::string>, std::allocator<std::pair<std::string const,
std::vector<Vector2<fixedpoint::fixed_point<16> >,
std::allocator<Vector2<fixedpoint::fixed_point<16> > > > > >
>::find(std::string const&)
3422      0.4479  libpthread-2.5.so        /lib/libpthread-2.5.so
3065      0.4011  wormux                   ObjMine::Detection()
2990      0.3913  libSDL-1.2.so.0.11.1     BlitARGBto565PixelAlpha
2685      0.3514  wormux                   fixedpoint::fixcos16(long long)
2639      0.3454  wormux
TileItem_NonEmpty::IsEmpty(Vector2<int> const&) const
1938      0.2536  wormux                   std::_Rb_tree<std::string,
std::pair<std::string const, member_mvt>,
std::_Select1st<std::pair<std::string const, member_mvt> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
member_mvt> > >::find(std::string const&)
1927      0.2522  wormux                   Team::begin()
1842      0.2411  wormux                   GetWorld()
1835      0.2402  wormux                   Game::MainLoop()
1667      0.2182  wormux
Body::ApplyMovement(Movement*, unsigned int)
1578      0.2065  wormux                   Mouse::GetDesignatedCharacter() const
1313      0.1718  wormux                   Water::CalculateWaveHeights()
1182      0.1547  wormux                   fixedpoint::fixatan16(long long)
1122      0.1468  wormux                   Member::RotateSprite()
1055      0.1381  wormux                   Surface::Free()
1040      0.1361  wormux                   PhysicalObj::UpdatePosition()
1029      0.1347  wormux
PhysicalObj::FootsInVacuumXY(Vector2<int> const&) const
1018      0.1332  wormux                   ActiveTeam()

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

Répondre à