28 lines
498 B
C++
28 lines
498 B
C++
|
/***
|
||
|
Copyright (C) 2021-2024 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||
|
|
||
|
File: AuBaseHeap.cpp
|
||
|
Date: 2021-6-12
|
||
|
Author: Reece
|
||
|
***/
|
||
|
#include <Source/RuntimeInternal.hpp>
|
||
|
#include "AuBaseHeap.hpp"
|
||
|
|
||
|
namespace Aurora::Memory
|
||
|
{
|
||
|
HeapStats &BaseHeap::GetStats()
|
||
|
{
|
||
|
UpdateStats();
|
||
|
return stats;
|
||
|
}
|
||
|
|
||
|
void *BaseHeap::GetHeapBase()
|
||
|
{
|
||
|
return this->pBase_;
|
||
|
}
|
||
|
|
||
|
AuUInt BaseHeap::GetHeapLength()
|
||
|
{
|
||
|
return this->uLength_;
|
||
|
}
|
||
|
}
|