Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • Namespaces
    • namespace Enlighten
    • namespace Geo
      • class Geo AbstractRayChunk
      • class Geo AnsiAllocator
      • class Geo AtlasMesh
      • class Geo AtlasMeshChart
      • class Geo AtlasMeshPackingFlags
      • class Geo BasicAllocator
      • class Geo ChartParametiserFailure
      • class Geo ConvexHull
      • class Geo ConvexHullBuilder
      • class Geo CovarianceMatrix
      • class Geo CovarianceMatrixBuilder
      • class Geo EmbreeRtMeshVisitor
      • class Geo Geo2DTransform
      • class Geo GeoAlignedFreeDestructor
      • class Geo GeoAllocationPage
      • class Geo GeoAllocator
      • class Geo GeoAllocatorUnchecked
      • class Geo GeoArray
      • class Geo GeoArray_Stl
      • class Geo GeoAutoArrayPtr
      • class Geo GeoAutoDeleteArray
      • class Geo GeoAutoDeleteList
      • class Geo GeoAutoDeleteMap
      • class Geo GeoAutoPtr
      • class Geo GeoAutoReleaseArray
      • class Geo GeoAutoReleaseMap
      • class Geo GeoAutoReleasePtr
      • class Geo GeoBitArray
      • class Geo GeoBitStore
      • class Geo GeoBlueNoise
      • class Geo GeoBlueNoiseDiskPalette
      • class Geo GeoBlueNoiseRayPalette
      • class Geo GeoBoundingBox
      • class Geo GeoBoundingSphere
      • class Geo GeoBufferedFileStream
      • class Geo GeoBufferedInputStream
      • class Geo GeoCriticalSection
      • class Geo GeoDebugAllocator
      • class Geo GeoDelegateDestructor
      • class Geo GeoDeleteArrayDestructor
      • class Geo GeoDeleteDestructor
      • class Geo GeoDepthCubeMap
      • class Geo GeoEmbreeContext
      • class Geo GeoEqualCString
      • class Geo GeoEvent
      • class Geo GeoFileManager
      • class Geo GeoFileStream
      • class Geo GeoFixedBinarySearchMap
      • class Geo GeoFixedBinarySearchMapCompare
      • class Geo GeoFixedPoolAllocator
      • class Geo GeoFixedString
      • class Geo GeoFlattenAndPackResults
      • class Geo GeoFp16Texture
      • class Geo GeoFpControl
      • class Geo GeoFrameTime
      • class Geo GeoFreeDestructor
      • class Geo GeoGenericTexture
      • class Geo GeoGuid
      • class Geo GeoHalf
      • class Geo GeoHashConstHandle
      • class Geo GeoHashCString
      • class Geo GeoHashDefault
      • class Geo GeoHashHandle
      • class Geo GeoHashMap
      • class Geo GeoHashString
      • class Geo GeoImmutableArray
      • class Geo GeoInputEvent
      • class Geo GeoInstanceCount
      • class Geo GeoIntRange
      • class Geo GeoIntrusivePtr
      • class Geo GeoKeyValueArray
      • class Geo GeoLineSegment
      • class Geo GeoList
      • class Geo GeoMap
      • class Geo GeoMemoryDefault
      • class Geo GeoMemoryPool
      • class Geo GeoMemoryStream
      • class Geo GeoNonAABoundingBox
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo GeoDebugAllocator

    This is the documentation for Enlighten.

    class Geo GeoDebugAllocator

    Nov 21, 2019

    class Geo::GeoDebugAllocator

        └>Geo::MemoryAllocator

    MemoryAllocator implementation which fills allocated memory with a given value.

    Passes actual allocation requests to another allocator (such as AnsiAllocator).

    Functions

    Name Description
    ~MemoryAllocator()

    Force a virtual destructor. This is not called by GeoMemory.

    Allocate(size_t, size_t, const char *, Geo::s32, const char *)

    Allocate a block of memory with the given size.

    Allocate(size_t, size_t, const char *, Geo::s32, const char *)

    Allocate a block of memory with the given size.

    Free(void *, bool, const char *, Geo::s32, const char *)

    Free a block of memory, possibly aligned.

    Free(void *, bool, const char *, Geo::s32, const char *)

    Free a block of memory, possibly aligned.

    GeoDebugAllocator(MemoryAllocator *, char)

    Creates a GeoDebugAllocator using the given MemoryAllocator to do the actual allocations.

    GetTotalMemoryAllocated()

    The total amount of memory we've allocated to date (not subtracting deallocations).

    GetTotalMemoryAllocated()

    The total amount of memory we've allocated to date (not subtracting deallocations).

    GetTotalMemoryAllocationCalls()

    The number of times we've allocated memory through GeoMemory.

    GetTotalMemoryAllocationCalls()

    The number of times we've allocated memory through GeoMemory.

    GetTotalMemoryDeallocated()

    The total amount of memory we've deallocated so far.

    GetTotalMemoryDeallocated()

    The total amount of memory we've deallocated so far.

    GetTotalMemoryInUse()

    The total amount of memory currently allocated (allocations minus deallocations)

    GetTotalMemoryInUse()

    The total amount of memory currently allocated (allocations minus deallocations)

    IsTotalMemorySummarySupported()

    Returns true if the memory summary functionality is supported with this allocator.

    IsTotalMemorySummarySupported()

    Returns true if the memory summary functionality is supported with this allocator.

    Realloc(void *, size_t, size_t, const char *, s32, const char *)

    Reallocate a block of memory, preserving as much data as will fit in the new block size.

    Realloc(void *, size_t, size_t, const char *, s32, const char *)

    Reallocate a block of memory, preserving as much data as will fit in the new block size.

    SetFillValue(char)

    Sets the value which all new allocations will be filled with.


    virtual Geo::MemoryAllocator::~MemoryAllocator


    public: virtual ~MemoryAllocator()


    Force a virtual destructor. This is not called by GeoMemory.


    virtual void* Geo::GeoDebugAllocator::Allocate


    public: virtual void * Allocate
    (
        size_t size,
        size_t align,
        const char * filename,
        Geo::s32 lineNumber,
        const char * message
    )


    Allocate a block of memory with the given size.

    If alignment is 0, use unaligned allocation. Otherwise, alignment must be a power of two.


    virtual void* Geo::MemoryAllocator::Allocate


    public: void * Allocate
    (
        size_t size,
        size_t align,
        const char * filename,
        Geo::s32 lineNumber,
        const char * message
    )


    Allocate a block of memory with the given size.

    If alignment is 0, use unaligned allocation. Otherwise, alignment must be a power of two.


    virtual void Geo::GeoDebugAllocator::Free


    public: virtual void Free
    (
        void * mem,
        bool aligned,
        const char * filename,
        Geo::s32 lineNumber,
        const char * message
    )


    Free a block of memory, possibly aligned.


    virtual void Geo::MemoryAllocator::Free


    public: void Free
    (
        void * mem,
        bool aligned,
        const char * filename,
        Geo::s32 lineNumber,
        const char * message
    )


    Free a block of memory, possibly aligned.


    Geo::GeoDebugAllocator::GeoDebugAllocator


    public: GeoDebugAllocator
    (
        MemoryAllocator * internalAllocator,
        char fillValue
    )


    Creates a GeoDebugAllocator using the given MemoryAllocator to do the actual allocations.


    virtual s64 Geo::GeoDebugAllocator::GetTotalMemoryAllocated


    public: virtual s64 GetTotalMemoryAllocated()


    The total amount of memory we've allocated to date (not subtracting deallocations).


    virtual Geo::s64 Geo::MemoryAllocator::GetTotalMemoryAllocated


    public: virtual Geo::s64 GetTotalMemoryAllocated()


    The total amount of memory we've allocated to date (not subtracting deallocations).


    virtual s64 Geo::GeoDebugAllocator::GetTotalMemoryAllocationCalls


    public: virtual s64 GetTotalMemoryAllocationCalls()


    The number of times we've allocated memory through GeoMemory.


    virtual Geo::s64 Geo::MemoryAllocator::GetTotalMemoryAllocationCalls


    public: virtual Geo::s64 GetTotalMemoryAllocationCalls()


    The number of times we've allocated memory through GeoMemory.


    virtual s64 Geo::GeoDebugAllocator::GetTotalMemoryDeallocated


    public: virtual s64 GetTotalMemoryDeallocated()


    The total amount of memory we've deallocated so far.


    virtual Geo::s64 Geo::MemoryAllocator::GetTotalMemoryDeallocated


    public: virtual Geo::s64 GetTotalMemoryDeallocated()


    The total amount of memory we've deallocated so far.


    virtual s64 Geo::GeoDebugAllocator::GetTotalMemoryInUse


    public: virtual s64 GetTotalMemoryInUse()


    The total amount of memory currently allocated (allocations minus deallocations)


    virtual Geo::s64 Geo::MemoryAllocator::GetTotalMemoryInUse


    public: virtual Geo::s64 GetTotalMemoryInUse()


    The total amount of memory currently allocated (allocations minus deallocations)


    virtual bool Geo::GeoDebugAllocator::IsTotalMemorySummarySupported


    public: virtual bool IsTotalMemorySummarySupported()


    Returns true if the memory summary functionality is supported with this allocator.


    virtual bool Geo::MemoryAllocator::IsTotalMemorySummarySupported


    public: virtual bool IsTotalMemorySummarySupported()


    Returns true if the memory summary functionality is supported with this allocator.


    virtual void* Geo::MemoryAllocator::Realloc


    public: void * Realloc
    (
        void * mem,
        size_t size,
        size_t align,
        const char * filename,
        s32 lineNumber,
        const char * message
    )


    Reallocate a block of memory, preserving as much data as will fit in the new block size.

    Requires the same alignment as in the original allocation.


    virtual void* Geo::GeoDebugAllocator::Realloc


    public: virtual void * Realloc
    (
        void * mem,
        size_t size,
        size_t align,
        const char * filename,
        s32 lineNumber,
        const char * message
    )


    Reallocate a block of memory, preserving as much data as will fit in the new block size.

    Requires the same alignment as in the original allocation.


    void Geo::GeoDebugAllocator::SetFillValue


    public: void SetFillValue
    (
        char fillValue
    )


    Sets the value which all new allocations will be filled with.

    , multiple selections available,
    {"serverDuration": 10, "requestCorrelationId": "a532f0a3fc304b4bba74f1be0c091c76"}