BloombergLP::bsls::PerformanceHint

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

NameDescription
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.