more frivulous debug window frisbees

This commit is contained in:
minjaesong
2022-03-30 17:05:46 +09:00
parent 147c57557d
commit d387b9ca37
3 changed files with 15 additions and 14 deletions

View File

@@ -118,11 +118,11 @@ object Terrarum : Disposable {
javaHeapCircularArray.appendHead((Gdx.app.javaHeap shr 20).toInt())
return javaHeapCircularArray.maxOrNull() ?: 0
}
val memNativeHeap: Int
/*val memNativeHeap: Int // as long as you're sticking to the LWJGL, nativeHeap just returns javaHeap
get() {
nativeHeapCircularArray.appendHead((Gdx.app.nativeHeap shr 20).toInt())
return nativeHeapCircularArray.maxOrNull() ?: 0
}
}*/
val memUnsafe: Int
get() = (UnsafeHelper.unsafeAllocatedSize shr 20).toInt()
val memXmx: Int