Seems I sent in twice the previous mail. Whatever. ----- Kurosu <kur...@free.fr> a écrit : > For some reason, I can't force oprofile to include the time taken > in external symbols, in particular SDL.
By building static libraries, I finally got: samples % app name symbol name 188757 29.5856 wormux BlitNtoNPixelAlpha 109184 17.1134 wormux BlitRGBtoRGBPixelAlphaMMX 58904 9.2325 libc-2.7.so (no symbols) 43741 6.8559 wormux SDL_memcpySSE 27794 4.3564 wormux _zoomSurfaceRGBA 24582 3.8530 libvorbis.so.0.4.0 (no symbols) 13792 2.1617 libasound.so.2.0.0 (no symbols) 11179 1.7522 libgcc_s.so.1 (no symbols) 11071 1.7353 libjpeg.so.62.0.0 (no symbols) 11067 1.7346 wormux GetObjectAt(Vector2<int> const&) 10462 1.6398 wormux BlitNtoNCopyAlpha 10044 1.5743 no-vmlinux (no symbols) 9337 1.4635 libstdc++.so.6.0.10 (no symbols) 8505 1.3331 wormux BlitNtoN 5880 0.9216 wormux Surface::MergeSurface(Surface&, Vector2<int> const&) As one can see, there's little one can do, except reducing the calls leading to BlitNtoNPixelAlpha and BlitRGBtoRGBPixelAlphaMMX. _______________________________________________ Wormux-dev mailing list Wormux-dev@gna.org https://mail.gna.org/listinfo/wormux-dev