This struct provides a namespace for a suite of functions that give performance hints to the compiler or hardware.
Declared in <bsls_performancehint.h>
struct PerformanceHint;
| Name | Description |
|---|---|
lowFrequency | Hint that the enclosing branch executes infrequently. |
prefetchForReading | Prefetch one cache line of data at address for reading. |
prefetchForWriting | Prefetch one cache line of data at address for writing. |
rarelyCalled | Hint that the enclosing branch is rarely taken. |