FHoloLensPlatformMemory

HoloLens implementation of the memory OS functions

Windows
MacOS
Linux

Inheritance Hierarchy

FGenericPlatformMemory

FHoloLensPlatformMemory

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HoloLens/HoloLensPlatformMemory.h

Include

#include "HoloLens/HoloLensPlatformMemory.h"

Syntax

struct FHoloLensPlatformMemory : public FGenericPlatformMemory

Remarks

HoloLens implementation of the memory OS functions

Functions

Name Description

Public function Static

FMalloc *...

 

BaseAllocator()

Public function Static

void *

 

BinnedAllocFromOS

(
    SIZE_T Size
)

Public function Static

void

 

BinnedFreeToOS

(
    void* Ptr,
    SIZE_T Size
)

Public function Static

const FPlatf...

 

GetConstants()

Public function Static

FPlatformMem...

 

GetStats()

Public function Static

void

 

GetStatsForMallocProfiler

(
    FGenericMemoryStats& out_Stats
)

Public function Static

void

 

Init()

Enable this to track down windows allocations not wrapped by our wrappers int WindowsAllocHook(int nAllocType, void *pvData, size_t nSize, int nBlockUse, long lRequest, const unsigned char * szFileName, int nLine ) { if ((nAllocType == HOOK_ALLOC || nAllocType == HOOK_REALLOC) && nSize > 2048) { static int i = 0; i++; } return true; }

Protected function Static

void

 

InternalUpdateStats

(
    const FPlatformMemoryStats& Memory...
)

Public function Static

FSharedMemor...

 

MapNamedSharedMemoryRegion

(
    const FString& InName,
    bool bCreate,
    uint32 AccessMode,
    SIZE_T Size
)

Public function Static

bool

 

SupportBackupMemoryPool()

Public function Static

bool

 

UnmapNamedSharedMemoryRegion

(
    FSharedMemoryRegion* MemoryReg...
)

Classes

Name

Description

Public struct

FHoloLensSharedMemoryRegion

HoloLens representation of a shared memory region

Public class

FPlatformVirtualMemoryBlock

Enums

Name

Description

Public enum

EMemoryCounterRegion

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss