[LinuxPPS] [PATCH 01/11] PPS: Don't waste time getting unnecessary timestamps.
George Spelvin
linux at horizon.com
Tue Feb 10 11:43:41 CET 2009
Rodolfo Giometti <giometti at enneenne.com> wrote:
>> But really, one predicted untaken branch (forward branches are predicted
>> not taken if not in the prediction cache) is a truly negligible overhead.
>> (You can add a likely() hint to make the branch time deterministic.)
>
> Mmm... I suppose using likely() could be better... let me investigate.
What might be even simpler is to change the interface to require a
non-NULL timestamp be passed in. Both existing clients do so, so it's
not like you'll break any code...
More information about the LinuxPPS
mailing list