Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys
On Tue, Feb 23, 2010 at 09:58:25AM +1300, Darran Hunt wrote:
> I'm concerned that this will introduce more of a performance penalty
> for. Wouldn't your suggestion mean that there would always be a
> function call made?
>
> i.e.
> if (__predict_false(dtrace_vtime_active)) {
> (*dtrace_vtime_switch_func)(newl);
> }
>
> vrs
>
> dtrace_vtime_switch(newl);
There will not necessarily be a function call, but making the function
"inline" may help to avoid a function call.
Dave
--
David Young OJC Technologies
dyoung%ojctech.com@localhost Urbana, IL * (217) 278-3933
Home |
Main Index |
Thread Index |
Old Index