KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Karma::FWindowsPlatformMemory Struct Reference

#include <WindowsPlatformMemory.h>

Inheritance diagram for Karma::FWindowsPlatformMemory:
Collaboration diagram for Karma::FWindowsPlatformMemory:

Public Types

enum  EMemoryCounterRegion {
  MCR_Invalid , MCR_Physical , MCR_GPU , MCR_GPUSystem ,
  MCR_TexturePool , MCR_StreamingPool , MCR_UsedStreamingPool , MCR_GPUDefragPool ,
  MCR_SamplePlatformSpecifcMemoryRegion , MCR_PhysicalLLM , MCR_MAX
}
 

Additional Inherited Members

- Static Public Member Functions inherited from Karma::FGenericPlatformMemory
static FORCEINLINE void * Memmove (void *Dest, const void *Src, SIZE_T Count)
 Copies count bytes of characters from Src to Dest. If some regions of the source area and the destination overlap, memmove ensures that the original source bytes in the overlapping region are copied before being overwritten.
 
static FORCEINLINE int32_t Memcmp (const void *Buf1, const void *Buf2, SIZE_T Count)
 Compares first Count bytes of memory of Buf1 and Buf2.
 
static FORCEINLINE void * Memset (void *Dest, uint8_t Char, SIZE_T Count)
 Copy value Char in each of first Count characters of object pointed to by Dest.
 
static FORCEINLINE void * Memzero (void *Dest, SIZE_T Count)
 Zeros the Count number of characters of object pointed by Dest.
 
static FORCEINLINE void * Memcpy (void *Dest, const void *Src, SIZE_T Count)
 Copies Count bytes from the object pointed by Src to the object pointed by Dest.
 
static FORCEINLINE void * BigBlockMemcpy (void *Dest, const void *Src, SIZE_T Count)
 Memcpy optimized for big blocks.
 
static FORCEINLINE void * StreamingMemcpy (void *Dest, const void *Src, SIZE_T Count)
 On some platforms memcpy optimized for big blocks that avoid L2 cache pollution are available.
 
static FORCEINLINE void * ParallelMemcpy (void *Dest, const void *Src, SIZE_T Count, EMemcpyCachePolicy Policy=EMemcpyCachePolicy::StoreCached)
 On some platforms memcpy can be distributed over multiple threads for throughput.
 
static void Memswap (void *Ptr1, void *Ptr2, SIZE_T Size)
 

Detailed Description

Windows implementation of the memory OS functions


The documentation for this struct was generated from the following file: