mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
more frivulous debug window frisbees
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user