libosmocore/include
Vadim Yanitskiy e59e839dd9 core/utils.h: add OSMO_LIKELY / OSMO_UNLIKELY macros
These macros are built on top of the __builtin_expect() function [1],
which provides the compiler with branch prediction information.

Similar macros exist in the Linux kernel: likely() / unlikely().

[1] https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html

Change-Id: I0b029654ba050f079eed4a0574a3fa8019677067
2022-02-08 12:48:28 +06:00
..
osmocom core/utils.h: add OSMO_LIKELY / OSMO_UNLIKELY macros 2022-02-08 12:48:28 +06:00
Makefile.am select: gather statistics for TCP connections 2021-12-23 14:52:15 +00:00