The RtlPrefetchMemoryNonTemporal routine provides a hint to the processor that a buffer should be temporarily moved into the processor cache.
VOID RtlPrefetchMemoryNonTemporal( _In_ PVOID Source, _In_ SIZE_T Length );
A pointer to the buffer to be moved into the processor cache.
The length of the buffer to be moved.
You should use this routine only for a buffer that will be written to or read from exactly once. Note that RtlPrefetchMemoryNonTemporal is only a hint to the processor: the buffer is not guaranteed to be moved into the cache. On x86-based and x64-based systems, this routine uses the prefetchnta instruction.
|Windows version||Available in Windows Server 2003 and later versions of Windows.|
|Header||wdm.h (include Ntddk.h, Wdm.h)|