Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Giving a program priority briefly
- Date: Sun, 10 Jun 2007 23:04:54 +0900
- From: "Josh Glover" <jmglov@example.com>
- Subject: Re: [tlug] Giving a program priority briefly
- References: <466B5A87.7000002@dcook.org> <78d7dd350706100221u524aa0baxa6498541674863b0@mail.gmail.com> <466BD066.90302@dcook.org>
On 10/06/07, Darren Cook <darren@example.com> wrote:
I also got some surprises such as calling a function in the same class gave no slowdown, but moving the function (marked as inline) to the base class (these are classes with no virtual functions) gave nearly over a 5% slowdown. So I used a macro.
That is quite surprising!
Are you using g++? WTF is the compiler doing!? I know that a C++ compiler is allowed to ignore the inline keyword when it wants to, but this seems a bit silly.
Can you post your compiler options? Especially optimisation settings.
-Josh
- Follow-Ups:
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
- References:
- [tlug] Giving a program priority briefly
- From: Darren Cook
- Re: [tlug] Giving a program priority briefly
- From: Nguyen Vu Hung
- Re: [tlug] Giving a program priority briefly
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] /home partition use
- Next by Date: Re: [tlug] Giving a program priority briefly
- Previous by thread: Re: [tlug] Giving a program priority briefly
- Next by thread: Re: [tlug] Giving a program priority briefly
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links