From 13012c476ca4a641c057b2176676e49e6a9cc52b Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Mon, 21 Aug 2023 10:12:27 -0600 Subject: [PATCH] debug print memory usage --- haxe_libraries/hollywoo.hxml | 6 +++--- src/hollywoo_flixel/FlxDirector.kiss | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/haxe_libraries/hollywoo.hxml b/haxe_libraries/hollywoo.hxml index e9dd487..a995567 100644 --- a/haxe_libraries/hollywoo.hxml +++ b/haxe_libraries/hollywoo.hxml @@ -1,6 +1,6 @@ -# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#7a8bf5bc206d694451101915dc1776ff7c188280" into hollywoo/0.0.0/github/7a8bf5bc206d694451101915dc1776ff7c188280 -# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/7a8bf5bc206d694451101915dc1776ff7c188280" +# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#f4b059297ad7cba4673909c455d19a328e345058" into hollywoo/0.0.0/github/f4b059297ad7cba4673909c455d19a328e345058 +# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/f4b059297ad7cba4673909c455d19a328e345058" -lib kiss -lib kiss-tools --cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/7a8bf5bc206d694451101915dc1776ff7c188280/src/ +-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/f4b059297ad7cba4673909c455d19a328e345058/src/ -D hollywoo=0.0.0 \ No newline at end of file diff --git a/src/hollywoo_flixel/FlxDirector.kiss b/src/hollywoo_flixel/FlxDirector.kiss index 36be212..46acd49 100644 --- a/src/hollywoo_flixel/FlxDirector.kiss +++ b/src/hollywoo_flixel/FlxDirector.kiss @@ -487,6 +487,7 @@ (pause)) (set FlxG.autoPause true) (FlxG.state.remove bar true) + (print (/ (/ flash.system.System.totalMemory 1024) 1000) "Memory in use: ") (cc) }) 1)] (haxe.Timer.delay ->:Void (loop.start) 1)