MCPcopy Create free account
hub / github.com/doldecomp/mkdd / drawMemMap

Method drawMemMap

src/Kaneshige/SysDebug.cpp:430–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430void SysDebug::drawMemMap() {
431 s32 lineNo = 0;
432 JUTReport(mDrawPosX, mDrawPosY, "MEMORY MAP(FREE/SIZE)");
433 lineNo++;
434 s32 size = (s32)JKRHeap::getCodeEnd() - (s32)JKRHeap::getCodeStart();
435 JUTReport(mDrawPosX, mDrawPosY + mCharHeight * lineNo, "CODE :%08X-%08X: /%5dK", JKRHeap::getCodeStart(), JKRHeap::getCodeEnd(), sizeKByte(size));
436 lineNo++;
437 printHeapTree(JKRHeap::getRootHeap(), 0, &lineNo);
438}
439
440void SysDebug::drawUsrPage() {
441 JUTReport(mDrawPosX, mDrawPosY, "USR PAGE:%d", mUsrPageNo);

Callers

nothing calls this directly

Calls 2

JUTReportFunction · 0.85
getRootHeapFunction · 0.85

Tested by

no test coverage detected