This struct provides a namespace for a suite of functions that give performance hints to the compiler or hardware.
Synopsis
Declared in <bsls_performancehint.h>
struct PerformanceHint;
Static Member Functions
Name |
Description |
This is an empty function that is marked with low execution frequency using pragmas. If this function is placed in a block of code inside a branch, the compiler will optimize the assembly code generated and mark the block as unlikely. |
|
Prefetch one cache line worth of data at the specified |
|
Prefetch one cache line worth of data at the specified |
|
This is an empty function that is marked as rarely called using pragmas. If this function is placed in a block of code inside a branch, the compiler will optimize the assembly code generated and mark the block as unlikely. Note that this function is intentionally not inlined. |
Created with MrDocs