[Freeciv-Dev] Re: inlining functions
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
> I took Ross's autogame, the current cvs version and these commands:
>
> -------
> hard
> set aifill 7
> set timeout -1
> set seed 42
> set randseed 42
> set endyear -1000
> create foobar
> start
> -------
>
> I also enabled profiling. The profile data vary a lot the overall
> times however are almost constant:
What do these times measure? The run of the game from the beginning
until game over?
> Size: 1908979 Aug 20 19:24 server/civserver*
Use the `size' command instead.
>From the timing and the size it looks like the macro isn't expanded
>in all possible cases OR gcc is also inlining other methods by using
>"-Winline -finline-functions". Looking at the gcc manual it looks
>like the latter is true. So what options have to be passed to gcc to
>just inline the functions which are marked inline?
Nothing, just use -O2 and no funny options.
--
Big Gaute http://www.srcf.ucam.org/~gs234/
Is a tattoo real, like a curb or a battleship?
Or are we suffering in Safeway?
- [Freeciv-Dev] Re: inlining functions, (continued)
- [Freeciv-Dev] Re: inlining functions, Raimar Falke, 2001/08/19
- [Freeciv-Dev] Re: inlining functions, Kevin Brown, 2001/08/19
- [Freeciv-Dev] Re: inlining functions, Raimar Falke, 2001/08/20
- [Freeciv-Dev] Re: inlining functions, Markus Linnala, 2001/08/20
- [Freeciv-Dev] Re: inlining functions, Raimar Falke, 2001/08/20
- [Freeciv-Dev] Re: inlining functions, Markus Linnala, 2001/08/20
- [Freeciv-Dev] Re: inlining functions, Raimar Falke, 2001/08/20
[Freeciv-Dev] Re: inlining functions, Raimar Falke, 2001/08/20
|
|