glob2-devel
[Top][All Lists]
Advanced

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

[glob2-devel] profiling


From: Luc-Olivier de Charrière
Subject: [glob2-devel] profiling
Date: Sat, 15 Nov 2003 16:47:13 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031020

Les tout derniers profilings, 128x128, SANS optimisations du tout, 1player+3AI:

Flat profile:

Each sample counts as 0.01 seconds.
% cumulative self self total time seconds seconds calls s/call s/call name 29.38 52.87 52.87 18569089 0.00 0.00 SDLDrawableSurface::drawFilledRect(int, int, int, int, unsigned char, unsigned char, unsigned char, unsigned char) 12.32 75.05 22.18 44791 0.00 0.00 Map::updateGlobalGradient(unsigned char*) 11.83 96.33 21.29 21890779 0.00 0.00 SDLSprite::draw(SDL_Surface*, SDL_Rect const*, int, int, int) 10.57 115.36 19.03 1310 0.01 0.02 Game::renderMiniMap(int, bool) 6.91 127.81 12.44 222950964 0.00 0.00 SDLDrawableSurface::drawPixel(int, int, unsigned char, unsigned char, unsigned char, unsigned char) 1.81 131.06 3.25 41872 0.00 0.00 Game::drawMap(int, int, int, int, int, int, int, bool, bool, bool, bool) 1.64 134.01 2.96 474402 0.00 0.00 TTF_RenderUNICODE_Blended 1.40 136.53 2.52 153936062 0.00 0.00 Map::isMapDiscovered(int, int, unsigned int) 1.36 138.99 2.45 180875089 0.00 0.00 Map::getRessource(int, int)
 1.27    141.28     2.29  1449714     0.00     0.00  Load_Glyph
1.11 143.26 1.99 210304503 0.00 0.00 std::vector<SDL_Surface*, std::allocator<SDL_Surface*> >::operator[](unsigned int) 1.04 145.13 1.86 147036828 0.00 0.00 Map::isRessource(int, int, int) 1.01 146.95 1.82 210304503 0.00 0.00 __gnu_cxx::__normal_iterator<SDL_Surface**, std::vector<SDL_Surface*, std::allocator<SDL_Surface*> > >::operator+(int const&) const

cpu usage graph:
cpu usage graph:
100.0 % | ****
98.5 % |
95.0 % |
93.5 % |
90.0 % |
88.5 % |
85.0 % |
83.5 % | *
80.0 % | *
78.5 % | *
75.0 % | **
73.5 % | ***
70.0 % | ****
68.5 % | ******
65.0 % | *********
63.5 % | ***********
60.0 % | *************
58.5 % | ************
55.0 % | ***********
53.5 % | *********
50.0 % | ******
48.5 % | ***
45.0 % | *
43.5 % | *
40.0 % |
38.5 % |
35.0 % |
33.5 % |
30.0 % |
28.5 % |
25.0 % |
23.5 % |
20.0 % |
18.5 % |
15.0 % |
13.5 % |
10.0 % |
 8.5 % |
 5.0 % |
 3.5 % |






reply via email to

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