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

Prefetch one cache line of data at `address` for writing&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
prefetchForWriting(void* address);
----

== Description

Prefetch one cache line worth of data at the specified `address` for writing if the compiler built&hyphen;in is available (see to the component level document for limitations)&period; Otherwise this method has no effect&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| memory address to prefetch
|===


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