[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] perfs
From: |
Martin S Nyffenegger |
Subject: |
Re: [glob2-devel] perfs |
Date: |
Mon, 20 Oct 2003 20:05:54 +0200 |
Ok,
profiling sur ma machine (ppc7400 1Go de Ram) réalisés avec Shikari
(Apple CHUD tools). Les mesures sont pris sur de cours intervals de
temps (10 sec environs) mais donnent une bonne idée...
Timing profile:
58.1% Map::updateGlobalGradient(unsigned char*) Globulation2
10.6% BlitRGBtoRGBPixelAlpha libSDL-1.2.0.dylib
4.6% SDLDrawableSurface::drawFilledRect(int, int, int,
int, unsigned char, unsigned char, unsigned char, unsigned char)
Globulation2
3.4% Map::updateGradient(int, unsigned char, bool, bool)
Globulation2
3.1% SDLSprite::draw(SDL_Surface*, SDL_Rect const*, int,
int, int) Globulation2
1.9% SDL_FillRect libSDL-1.2.0.dylib
1.8% IOTrySpinLock IOKit
1.1% Game::renderMiniMap(int, bool) Globulation2
1.0% rest_world_eh_r7r8 CoreGraphics
0.9% Map::getTerrain(int, int) Globulation2
0.8% IOSpinUnlock IOKit
0.8% Map::isWater(int, int) Globulation2
0.5% windowByID CoreGraphics
0.4% pthread_mutex_lock libSystem.B.dylib
0.4% Map::isMapDiscovered(int, int, unsigned) Globulation2
Branch Unit Stalls:
25.1% IOTrySpinLock IOKit
17.5% rest_world_eh_r7r8 CoreGraphics
7.1% IOSpinUnlock IOKit
6.8% Map::updateGradient(int, unsigned char, bool, bool)
Globulation2
3.5% QZ_UnlockWindow libSDL-1.2.0.dylib
2.5% Map::isWater(int, int) Globulation2
2.4% _gcc_bcmp libSDL-1.2.0.dylib
2.3% Team::checkSum() Globulation2
2.0% windowByID CoreGraphics
1.7% pthread_mutex_lock libSystem.B.dylib
Data Cache Misses:
41.9% Map::updateGlobalGradient(unsigned char*) Globulation2
11.9% BlitRGBtoRGBPixelAlpha libSDL-1.2.0.dylib
11.8% SDL_FillRect libSDL-1.2.0.dylib
9.0% Map::updateGradient(int, unsigned char, bool, bool)
Globulation2
6.5% SDLDrawableSurface::drawFilledRect(int, int, int,
int, unsigned char, unsigned char, unsigned char, unsigned char)
Globulation2
2.2% Map::getAirUnit(int, int) Globulation2
1.5% Map::getGroundUnit(int, int) Globulation2
1.1% SDLSprite::draw(SDL_Surface*, SDL_Rect const*, int,
int, int) Globulation2
1.0% Map::isMapDiscovered(int, int, unsigned) Globulation2
Load Store Stalls:
58.8% Map::updateGlobalGradient(unsigned char*) Globulation2
7.7% BlitRGBtoRGBPixelAlpha libSDL-1.2.0.dylib
7.4% SDLDrawableSurface::drawFilledRect(int, int, int,
int, unsigned char, unsigned char, unsigned char, unsigned char)
Globulation2
5.0% SDLSprite::draw(SDL_Surface*, SDL_Rect const*, int,
int, int) Globulation2
3.4% Map::updateGradient(int, unsigned char, bool, bool)
Globulation2
1.9% Game::renderMiniMap(int, bool) Globulation2
1.4% Team::checkSum() Globulation2
1.3% windowByID CoreGraphics
1.0% Map::isWater(int, int) Globulation2
--
----------------------------
Martin S. Nyffenegger
En pre-Floret
1126 Vaux sur Morges
VD Suisse
Tel:021 801 30 07
EMail: address@hidden
ICQ No: 14096413
----------------------------
- [glob2-devel] perfs, Martin Voelkle, 2003/10/19
- Re: [glob2-devel] perfs, Luc-Olivier de Charrière, 2003/10/19
- Re: [glob2-devel] perfs, Martin S Nyffenegger, 2003/10/20
- Re: [glob2-devel] perfs, Luc-Olivier de Charrière, 2003/10/20
- Re: [glob2-devel] perfs, Martin S Nyffenegger, 2003/10/20
- Re: [glob2-devel] perfs,
Martin S Nyffenegger <=
- Re: [glob2-devel] perfs, Luc-Olivier de Charrière, 2003/10/20
- Re: [glob2-devel] perfs, Martin S Nyffenegger, 2003/10/20
- Re: [glob2-devel] perfs, Luc-Olivier de Charrière, 2003/10/20
- Re: [glob2-devel] perfs, Stephane Magnenat, 2003/10/20
- Re: [glob2-devel] perfs, Luc-Olivier de Charrière, 2003/10/20
- Re: [glob2-devel] perfs, Stephane Magnenat, 2003/10/20
- Re: [glob2-devel] perfs, Luc-Olivier de Charrière, 2003/10/21
- Re: [glob2-devel] perfs, Stephane Magnenat, 2003/10/24