OROCHI
 
Loading...
Searching...
No Matches
GxAllocatorHeap.cpp File Reference

ヒープアロケータクラス More...

#include "Gx.h"
Include dependency graph for GxAllocatorHeap.cpp:

Macros

#define GX_DEBUG_HEAP_CHECK_MEMORY_LEAK   /* 有効でメモリリークチェック (default:ON ) */
 
#define GX_DEBUG_HEAP_CHECK_VALID_ONE_ALLOCATE_MEMORY   /* 有効でallocateMemory時に単体Heapチェック実行 (default:ON ) */
 
#define GX_DEBUG_HEAP_CHECK_VALID_ONE_FREE_MEMORY   /* 有効でfreeMemory時に単体Heapチェック実行 (default:ON ) */
 
#define GX_ALLOCATOR_REPORT_CALL_STACK(_pHeader_)
 

Functions

 _PARAM_NAME_ATTRIBUTE (_usedSize, "使用サイズ", GxProperty::ATTRIBUTE_READONLY)
 
 _CUSTOM_ATTRIBUTE (GxProperty::TYPE::S32, "使用サイズ(差分)", &GxAllocatorHeap::getPropertyUsedSizeDiff, nullptr, GxProperty::ATTRIBUTE_READONLY)
 
 _PARAM_NAME_ATTRIBUTE (_usedSizeMax, "最大到達使用サイズ", GxProperty::ATTRIBUTE_READONLY)
 
 _PARAM_NAME_ATTRIBUTE (_maxFreeSize,"最大確保可能サイズ", GxProperty::ATTRIBUTE_READONLY)
 
 _PARAM_NAME_ATTRIBUTE (_walkFreeMax,"空き領域リストの最大検索回数", GxProperty::ATTRIBUTE_READONLY)
 
 _PARAM_NAME_ATTRIBUTE (_serialNumber, "確保済みシリアル番号", GxProperty::ATTRIBUTE_READONLY)
 
 _PARAM_NAME (_assertSerialNumber, "アサートシリアル番号")
 
 _PARAM_NAME (_callStackMax, "コールスタックの保存最大数")
 
 _PARAM_NAME_ATTRIBUTE_MIN_MAX (_allocateDummyMemorySize, "ダミーメモリ確保サイズ", GxProperty::ATTRIBUTE_SLIDER, 0, GxMath::VALUE_1M)
 
 _EVENT ("使用サイズ差分記録", &GxAllocatorHeap::setUsedSizeDiff)
 
 _EVENT ("ダミーメモリ確保", &GxAllocatorHeap::allocateDummyMemory)
 
 _EVENT ("ダミーメモリ解放", &GxAllocatorHeap::freeDummyMemory)
 
 _EVENT ("確保済みメモリをCsvファイルへ出力", &GxAllocatorHeap::dumpToCsv)
 
void reportTTY (GX_CSTR string)
 

Detailed Description

ヒープアロケータクラス

Author
Copyright (C)2009 SiliconStudio Inc. All rights reserved.
Takashi Taketa
Tahir Arai

Macro Definition Documentation

◆ GX_ALLOCATOR_REPORT_CALL_STACK

#define GX_ALLOCATOR_REPORT_CALL_STACK ( _pHeader_)
Value:
((void)0)

Function Documentation

◆ reportTTY()

void reportTTY ( GX_CSTR string)
extern
Parameters
string[in] 出力文字列
Here is the call graph for this function:
Here is the caller graph for this function: