[#BloombergLP-bsls-PerformanceHint]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::PerformanceHint
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for a suite of functions that give performance hints to the compiler or hardware&period;

== Synopsis

Declared in `&lt;bsls&lowbar;performancehint&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct PerformanceHint;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bsls/PerformanceHint/lowFrequency.adoc[`lowFrequency`] 
| Hint that the enclosing branch executes infrequently&period;
| xref:BloombergLP/bsls/PerformanceHint/prefetchForReading.adoc[`prefetchForReading`] 
| Prefetch one cache line of data at `address` for reading&period;
| xref:BloombergLP/bsls/PerformanceHint/prefetchForWriting.adoc[`prefetchForWriting`] 
| Prefetch one cache line of data at `address` for writing&period;
| xref:BloombergLP/bsls/PerformanceHint/rarelyCalled.adoc[`rarelyCalled`] 
| Hint that the enclosing branch is rarely taken&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
