Prefetch one cache line of data at address for reading.
Synopsis
Declared in <bsls_performancehint.h>
static
void
prefetchForReading(void const* address);
Description
Prefetch one cache line worth of data at the specified address for reading 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