pvAccessCPP
7.1.7
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
utils
pv
likely.h
1
7
#ifndef LIKELY_H_
8
#define LIKELY_H_
9
10
#if defined(__GNUC__) && __GNUC__ >= 3
11
#define likely(x) __builtin_expect (x, 1)
12
#define unlikely(x) __builtin_expect (x, 0)
13
#else
14
#define likely(x) (x)
15
#define unlikely(x) (x)
16
#endif
17
18
#endif
/* LIKELY_H_ */
Generated on Mon Dec 18 2023 14:51:34 for pvAccessCPP by
1.8.5