FEMU
原版 master 7e238cc
FEMU: Accurate, Scalable and Extensible NVMe SSD Emulator (FAST'18)
rte_branch_prediction.h
浏览该文件的文档.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
10
#ifndef _RTE_BRANCH_PREDICTION_H_
11
#define _RTE_BRANCH_PREDICTION_H_
12
23
#ifndef likely
24
#define likely(x) __builtin_expect(!!(x), 1)
25
#endif
/* likely */
26
37
#ifndef unlikely
38
#define unlikely(x) __builtin_expect(!!(x), 0)
39
#endif
/* unlikely */
40
41
#endif
/* _RTE_BRANCH_PREDICTION_H_ */
femu
inc
rte_branch_prediction.h
制作者
1.8.17