Rename Prefetch to MemoryPrefetch

This commit is contained in:
2025-06-06 22:55:14 +02:00
parent 462f75abd0
commit 125a973ff2
6 changed files with 20 additions and 19 deletions
+6 -6
View File
@@ -239,6 +239,12 @@ public:
/// </summary>
static void MemoryBarrier() = delete;
/// <summary>
/// Indicates to the processor that a cache line will be needed in the near future.
/// </summary>
/// <param name="ptr">The address of the cache line to be loaded. This address is not required to be on a cache line boundary.</param>
static void Prefetch(void const* ptr) = delete;
/// <summary>
/// Sets a 64-bit variable to the specified value as an atomic operation. The function prevents more than one thread from using the same variable simultaneously.
/// </summary>
@@ -317,12 +323,6 @@ public:
/// <param name="value">The value to be set.</param>
static void AtomicStore(int64 volatile* dst, int64 value) = delete;
/// <summary>
/// Indicates to the processor that a cache line will be needed in the near future.
/// </summary>
/// <param name="ptr">The address of the cache line to be loaded. This address is not required to be on a cache line boundary.</param>
static void Prefetch(void const* ptr) = delete;
#if COMPILE_WITH_PROFILER
static void OnMemoryAlloc(void* ptr, uint64 size);
static void OnMemoryFree(void* ptr);