Prefetch one cache line of data at address for writing.

Synopsis

Declared in <bsls_performancehint.h>

static
void
prefetchForWriting(void* address);

Description

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

Parameters

Name

Description

address

memory address to prefetch

Created with MrDocs