diff options
author | Alberto Mardegan <mardy@users.sourceforge.net> | 2011-04-04 10:28:09 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-04-04 10:44:22 (GMT) |
commit | 3290e4c1956bc6df63af669523391565c67e8c42 (patch) | |
tree | b6efbe424cd1a50097193dbad363f5cd1b7a2188 /examples/scroller/wheel/main.cpp | |
parent | 0cf75b4dd1cc25694de8ece4c25ecb97a3969a54 (diff) | |
download | Qt-3290e4c1956bc6df63af669523391565c67e8c42.zip Qt-3290e4c1956bc6df63af669523391565c67e8c42.tar.gz Qt-3290e4c1956bc6df63af669523391565c67e8c42.tar.bz2 |
Add branch prediction macros
This adds support for Q_LIKELY and Q_UNLIKELY macros which instruct the
compiler on which branch of an "if" statement is more likely to happen.
The current patch only supports GCC's __builtin_expect().
Merge-request: 2580
Reviewed-by: ossi
Diffstat (limited to 'examples/scroller/wheel/main.cpp')
0 files changed, 0 insertions, 0 deletions