Loading...
Searching...
No Matches
likely.h File Reference

Likely/unlikely branch prediction macros. More...

Macros

#define spdk_unlikely(cond)   __builtin_expect((cond), 0)
 
#define spdk_likely(cond)   __builtin_expect(!!(cond), 1)
 

Detailed Description

Likely/unlikely branch prediction macros.