DPDK  2.2.0
Macros
rte_branch_prediction.h File Reference

Go to the source code of this file.

Macros

#define likely(x)   __builtin_expect((x),1)
#define unlikely(x)   __builtin_expect((x),0)

Detailed Description

Branch Prediction Helpers in RTE

Definition in file rte_branch_prediction.h.

Macro Definition Documentation

#define likely (   x)    __builtin_expect((x),1)
#define unlikely (   x)    __builtin_expect((x),0)