Rename Prefetch to MemoryPrefetch
This commit is contained in:
@@ -30,6 +30,10 @@ public:
|
||||
{
|
||||
__sync_synchronize();
|
||||
}
|
||||
FORCE_INLINE static void MemoryPrefetch(void const* ptr)
|
||||
{
|
||||
__builtin_prefetch(static_cast<char const*>(ptr));
|
||||
}
|
||||
FORCE_INLINE static int64 InterlockedExchange(int64 volatile* dst, int64 exchange)
|
||||
{
|
||||
return __sync_lock_test_and_set(dst, exchange);
|
||||
@@ -74,10 +78,6 @@ public:
|
||||
{
|
||||
__atomic_store(dst, &value, __ATOMIC_RELAXED);
|
||||
}
|
||||
FORCE_INLINE static void Prefetch(void const* ptr)
|
||||
{
|
||||
__builtin_prefetch(static_cast<char const*>(ptr));
|
||||
}
|
||||
static bool Is64BitPlatform();
|
||||
static String GetSystemName();
|
||||
static Version GetSystemVersion();
|
||||
|
||||
Reference in New Issue
Block a user