ZestCode
 
Loading...
Searching...
No Matches
optimizers.h File Reference

Go to the source code of this file.

Macros

#define likely(cond)
 
#define unlikely(cond)
 

Detailed Description

Optimizers for the kernel

Probably shouldn't use anything from this header

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Macro Definition Documentation

◆ likely

#define likely ( cond)
Value:
__builtin_expect(!!(cond), 1)

◆ unlikely

#define unlikely ( cond)
Value:
__builtin_expect(!!(cond), 0)