i need you to save the stack
parent
b5393ea01f
commit
7b4e7d2c28
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <blt/std/types.h>
|
||||
|
||||
inline constexpr blt::i32 MIN_DEPTH = 3;
|
||||
inline constexpr blt::i32 MIN_DEPTH = 4;
|
||||
inline constexpr blt::i32 MAX_DEPTH = 12;
|
||||
inline constexpr blt::i32 width = 256, height = 256;
|
||||
inline constexpr blt::i32 POPULATION_SIZE = 50;
|
||||
|
|
|
@ -0,0 +1,583 @@
|
|||
desc: (none)
|
||||
cmd: ./cmake-build-release/gp_image_test
|
||||
time_unit: i
|
||||
#-----------
|
||||
snapshot=0
|
||||
#-----------
|
||||
time=0
|
||||
mem_heap_B=0
|
||||
mem_heap_extra_B=0
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=1
|
||||
#-----------
|
||||
time=2570899
|
||||
mem_heap_B=73728
|
||||
mem_heap_extra_B=8
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=2
|
||||
#-----------
|
||||
time=3418285
|
||||
mem_heap_B=28702164
|
||||
mem_heap_extra_B=13180
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=3
|
||||
#-----------
|
||||
time=4576142
|
||||
mem_heap_B=28702164
|
||||
mem_heap_extra_B=13180
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=4
|
||||
#-----------
|
||||
time=5283262
|
||||
mem_heap_B=28706284
|
||||
mem_heap_extra_B=13212
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=5
|
||||
#-----------
|
||||
time=6322211
|
||||
mem_heap_B=28715025
|
||||
mem_heap_extra_B=19655
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=6
|
||||
#-----------
|
||||
time=7428174
|
||||
mem_heap_B=28753109
|
||||
mem_heap_extra_B=21451
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=7
|
||||
#-----------
|
||||
time=8854196
|
||||
mem_heap_B=28754309
|
||||
mem_heap_extra_B=21499
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=8
|
||||
#-----------
|
||||
time=10066271
|
||||
mem_heap_B=29219072
|
||||
mem_heap_extra_B=22816
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n4: 29219072 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x15097A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x1528EA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x48E5C1C: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 454647 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 270601 in 181 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=9
|
||||
#-----------
|
||||
time=10868507
|
||||
mem_heap_B=29234432
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=10
|
||||
#-----------
|
||||
time=12155641
|
||||
mem_heap_B=29250816
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=11
|
||||
#-----------
|
||||
time=13582565
|
||||
mem_heap_B=29268736
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=12
|
||||
#-----------
|
||||
time=14660453
|
||||
mem_heap_B=29271040
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=13
|
||||
#-----------
|
||||
time=15823237
|
||||
mem_heap_B=29294080
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=14
|
||||
#-----------
|
||||
time=16543271
|
||||
mem_heap_B=29297536
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=15
|
||||
#-----------
|
||||
time=17604965
|
||||
mem_heap_B=29297536
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=16
|
||||
#-----------
|
||||
time=18415400
|
||||
mem_heap_B=29332096
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=17
|
||||
#-----------
|
||||
time=19599379
|
||||
mem_heap_B=29337280
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=18
|
||||
#-----------
|
||||
time=20405252
|
||||
mem_heap_B=29337280
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=19
|
||||
#-----------
|
||||
time=21530927
|
||||
mem_heap_B=29337280
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=20
|
||||
#-----------
|
||||
time=22263532
|
||||
mem_heap_B=29337280
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=21
|
||||
#-----------
|
||||
time=23682098
|
||||
mem_heap_B=29389120
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=22
|
||||
#-----------
|
||||
time=24632336
|
||||
mem_heap_B=29396896
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=23
|
||||
#-----------
|
||||
time=25870536
|
||||
mem_heap_B=29396896
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=24
|
||||
#-----------
|
||||
time=27125948
|
||||
mem_heap_B=29396896
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=25
|
||||
#-----------
|
||||
time=28116897
|
||||
mem_heap_B=29404672
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=26
|
||||
#-----------
|
||||
time=28860992
|
||||
mem_heap_B=29404672
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n4: 29404672 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x15097A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x1528EA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 456201 in 185 places, all below massif's threshold (1.00%)
|
||||
n1: 454647 0x48E5C1C: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 454647 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
#-----------
|
||||
snapshot=27
|
||||
#-----------
|
||||
time=29849771
|
||||
mem_heap_B=29474656
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=28
|
||||
#-----------
|
||||
time=31104652
|
||||
mem_heap_B=29474656
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=29
|
||||
#-----------
|
||||
time=32099655
|
||||
mem_heap_B=29474656
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=30
|
||||
#-----------
|
||||
time=33093809
|
||||
mem_heap_B=29486320
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=31
|
||||
#-----------
|
||||
time=34333024
|
||||
mem_heap_B=29486320
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=32
|
||||
#-----------
|
||||
time=35583642
|
||||
mem_heap_B=29486320
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=33
|
||||
#-----------
|
||||
time=36573524
|
||||
mem_heap_B=29497984
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=34
|
||||
#-----------
|
||||
time=37285697
|
||||
mem_heap_B=29497984
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=35
|
||||
#-----------
|
||||
time=38702299
|
||||
mem_heap_B=29497984
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=36
|
||||
#-----------
|
||||
time=40128532
|
||||
mem_heap_B=29497984
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=37
|
||||
#-----------
|
||||
time=41699781
|
||||
mem_heap_B=29602960
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 29602960 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x15097A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x1528EA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x48E5C1C: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 454647 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 339561 in 184 places, all below massif's threshold (1.00%)
|
||||
n1: 314928 0x48E6438: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 314928 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
#-----------
|
||||
snapshot=38
|
||||
#-----------
|
||||
time=43112526
|
||||
mem_heap_B=29602960
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=39
|
||||
#-----------
|
||||
time=43821023
|
||||
mem_heap_B=29602960
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=40
|
||||
#-----------
|
||||
time=45235445
|
||||
mem_heap_B=29602960
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 29602960 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x15097A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x1528EA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x48E5C1C: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 454647 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 454647 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 454647 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 339561 in 184 places, all below massif's threshold (1.00%)
|
||||
n1: 314928 0x48E6438: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 314928 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
#-----------
|
||||
snapshot=41
|
||||
#-----------
|
||||
time=45946701
|
||||
mem_heap_B=29602960
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=42
|
||||
#-----------
|
||||
time=47013553
|
||||
mem_heap_B=29620456
|
||||
mem_heap_extra_B=22864
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=43
|
||||
#-----------
|
||||
time=48431164
|
||||
mem_heap_B=29620456
|
||||
mem_heap_extra_B=22864
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=44
|
||||
#-----------
|
||||
time=49499025
|
||||
mem_heap_B=29620456
|
||||
mem_heap_extra_B=22864
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=45
|
||||
#-----------
|
||||
time=50210227
|
||||
mem_heap_B=29637952
|
||||
mem_heap_extra_B=22872
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=46
|
||||
#-----------
|
||||
time=51267583
|
||||
mem_heap_B=29637936
|
||||
mem_heap_extra_B=22864
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=47
|
||||
#-----------
|
||||
time=52687434
|
||||
mem_heap_B=29637952
|
||||
mem_heap_extra_B=22872
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=48
|
||||
#-----------
|
||||
time=59230944
|
||||
mem_heap_B=29302426
|
||||
mem_heap_extra_B=24342
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=49
|
||||
#-----------
|
||||
time=60490446
|
||||
mem_heap_B=29926066
|
||||
mem_heap_extra_B=36222
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=50
|
||||
#-----------
|
||||
time=61369843
|
||||
mem_heap_B=29937394
|
||||
mem_heap_extra_B=36622
|
||||
mem_stacks_B=0
|
||||
heap_tree=peak
|
||||
n5: 29937394 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x15097A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x1528EA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x1569D0: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 813090 in 260 places, all below massif's threshold (1.00%)
|
||||
n2: 315552 0x4F07872: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
|
||||
n1: 315552 0x4F04F97: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
|
||||
n2: 315552 0x4F06D8E: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
|
||||
n1: 315424 0x4F06EFF: xcb_wait_for_reply64 (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
|
||||
n2: 315424 0x48BC10B: _XReply (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 315424 0x78F3AB6: ??? (in /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
|
||||
n1: 315424 0x79023C0: ??? (in /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
|
||||
n1: 315424 0x78F3FF8: ??? (in /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
|
||||
n1: 315424 0x78F0D7A: ??? (in /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0)
|
||||
n1: 315424 0x2EE198: _glfwInitGLX (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 315424 0x2EABEC: _glfwPlatformCreateWindow (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 315424 0x2E32D4: glfwCreateWindow (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 315424 0x1E0FC8: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 315424 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 0 in 26 places, all below massif's threshold (1.00%)
|
||||
n0: 128 in 1 place, below massif's threshold (1.00%)
|
||||
n0: 0 in 1 place, below massif's threshold (1.00%)
|
||||
n1: 314928 0x48E6438: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x2E646D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x2DE207: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x1E0F79: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 314928 0x1531DE: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
#-----------
|
||||
snapshot=51
|
||||
#-----------
|
||||
time=62920526
|
||||
mem_heap_B=29644033
|
||||
mem_heap_extra_B=37271
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=52
|
||||
#-----------
|
||||
time=64627257
|
||||
mem_heap_B=29644033
|
||||
mem_heap_extra_B=37271
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=53
|
||||
#-----------
|
||||
time=66015883
|
||||
mem_heap_B=29643745
|
||||
mem_heap_extra_B=37255
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=54
|
||||
#-----------
|
||||
time=66724570
|
||||
mem_heap_B=29637380
|
||||
mem_heap_extra_B=36980
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=55
|
||||
#-----------
|
||||
time=68174975
|
||||
mem_heap_B=29644040
|
||||
mem_heap_extra_B=37288
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=56
|
||||
#-----------
|
||||
time=69877285
|
||||
mem_heap_B=29644040
|
||||
mem_heap_extra_B=37288
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=57
|
||||
#-----------
|
||||
time=71259132
|
||||
mem_heap_B=29643752
|
||||
mem_heap_extra_B=37272
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
|
@ -0,0 +1,666 @@
|
|||
desc: (none)
|
||||
cmd: ./cmake-build-release/gp_image_test
|
||||
time_unit: i
|
||||
#-----------
|
||||
snapshot=0
|
||||
#-----------
|
||||
time=0
|
||||
mem_heap_B=0
|
||||
mem_heap_extra_B=0
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=1
|
||||
#-----------
|
||||
time=2568834
|
||||
mem_heap_B=73728
|
||||
mem_heap_extra_B=8
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=2
|
||||
#-----------
|
||||
time=6320073
|
||||
mem_heap_B=28715025
|
||||
mem_heap_extra_B=19655
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=3
|
||||
#-----------
|
||||
time=10590903
|
||||
mem_heap_B=29234432
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=4
|
||||
#-----------
|
||||
time=15845544
|
||||
mem_heap_B=29294080
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=5
|
||||
#-----------
|
||||
time=19621686
|
||||
mem_heap_B=29337280
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=6
|
||||
#-----------
|
||||
time=22285839
|
||||
mem_heap_B=29337280
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=7
|
||||
#-----------
|
||||
time=25892843
|
||||
mem_heap_B=29396896
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=8
|
||||
#-----------
|
||||
time=28139204
|
||||
mem_heap_B=29404672
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=9
|
||||
#-----------
|
||||
time=33116116
|
||||
mem_heap_B=29486320
|
||||
mem_heap_extra_B=22840
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=10
|
||||
#-----------
|
||||
time=37308004
|
||||
mem_heap_B=29497984
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=11
|
||||
#-----------
|
||||
time=40150839
|
||||
mem_heap_B=29497984
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=12
|
||||
#-----------
|
||||
time=43843330
|
||||
mem_heap_B=29602960
|
||||
mem_heap_extra_B=22856
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=13
|
||||
#-----------
|
||||
time=47035860
|
||||
mem_heap_B=29620456
|
||||
mem_heap_extra_B=22864
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=14
|
||||
#-----------
|
||||
time=52709741
|
||||
mem_heap_B=29637952
|
||||
mem_heap_extra_B=22872
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=15
|
||||
#-----------
|
||||
time=59264421
|
||||
mem_heap_B=29302426
|
||||
mem_heap_extra_B=24342
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=16
|
||||
#-----------
|
||||
time=64660166
|
||||
mem_heap_B=29644033
|
||||
mem_heap_extra_B=37271
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=17
|
||||
#-----------
|
||||
time=69910142
|
||||
mem_heap_B=29644040
|
||||
mem_heap_extra_B=37288
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=18
|
||||
#-----------
|
||||
time=72012191
|
||||
mem_heap_B=29624751
|
||||
mem_heap_extra_B=36793
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=19
|
||||
#-----------
|
||||
time=107796996
|
||||
mem_heap_B=29658722
|
||||
mem_heap_extra_B=38222
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=20
|
||||
#-----------
|
||||
time=112882037
|
||||
mem_heap_B=29978891
|
||||
mem_heap_extra_B=90989
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=21
|
||||
#-----------
|
||||
time=116408123
|
||||
mem_heap_B=29985163
|
||||
mem_heap_extra_B=91157
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=22
|
||||
#-----------
|
||||
time=121524724
|
||||
mem_heap_B=29990771
|
||||
mem_heap_extra_B=94701
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=23
|
||||
#-----------
|
||||
time=125584918
|
||||
mem_heap_B=29990779
|
||||
mem_heap_extra_B=94709
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=24
|
||||
#-----------
|
||||
time=137412730
|
||||
mem_heap_B=29990786
|
||||
mem_heap_extra_B=94718
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=25
|
||||
#-----------
|
||||
time=143247355
|
||||
mem_heap_B=29998938
|
||||
mem_heap_extra_B=94710
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=26
|
||||
#-----------
|
||||
time=147866227
|
||||
mem_heap_B=30018978
|
||||
mem_heap_extra_B=95310
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=27
|
||||
#-----------
|
||||
time=152454231
|
||||
mem_heap_B=30528440
|
||||
mem_heap_extra_B=109552
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=28
|
||||
#-----------
|
||||
time=155523815
|
||||
mem_heap_B=31240594
|
||||
mem_heap_extra_B=113030
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n4: 31240594 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 2431842 in 1102 places, all below massif's threshold (1.00%)
|
||||
n1: 314928 0x48E6438: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E42F8: _XimLocalOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x48E29BF: _XimOpenIM (in /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0)
|
||||
n1: 314928 0x2E7A5D: _glfwPlatformInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x2DF7F7: glfwInit (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 314928 0x1E1B49: blt::gfx::init(blt::gfx::window_data const&) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 314928 0x15335E: main (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
#-----------
|
||||
snapshot=29
|
||||
#-----------
|
||||
time=160565465
|
||||
mem_heap_B=31326530
|
||||
mem_heap_extra_B=119294
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=30
|
||||
#-----------
|
||||
time=165662802
|
||||
mem_heap_B=31349034
|
||||
mem_heap_extra_B=120846
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=31
|
||||
#-----------
|
||||
time=171394571
|
||||
mem_heap_B=31369682
|
||||
mem_heap_extra_B=122270
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=32
|
||||
#-----------
|
||||
time=177103876
|
||||
mem_heap_B=31402858
|
||||
mem_heap_extra_B=124558
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n3: 31402858 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 2909034 in 1109 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=33
|
||||
#-----------
|
||||
time=179980352
|
||||
mem_heap_B=31427450
|
||||
mem_heap_extra_B=126254
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=34
|
||||
#-----------
|
||||
time=182915278
|
||||
mem_heap_B=31444386
|
||||
mem_heap_extra_B=127422
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=35
|
||||
#-----------
|
||||
time=187287856
|
||||
mem_heap_B=31457146
|
||||
mem_heap_extra_B=128302
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=36
|
||||
#-----------
|
||||
time=190236899
|
||||
mem_heap_B=31468514
|
||||
mem_heap_extra_B=129086
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=37
|
||||
#-----------
|
||||
time=193132077
|
||||
mem_heap_B=31481506
|
||||
mem_heap_extra_B=129982
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=38
|
||||
#-----------
|
||||
time=197457669
|
||||
mem_heap_B=31502154
|
||||
mem_heap_extra_B=131406
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=39
|
||||
#-----------
|
||||
time=201807777
|
||||
mem_heap_B=31520482
|
||||
mem_heap_extra_B=132670
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=40
|
||||
#-----------
|
||||
time=204725921
|
||||
mem_heap_B=31529066
|
||||
mem_heap_extra_B=133262
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=41
|
||||
#-----------
|
||||
time=207606480
|
||||
mem_heap_B=31542522
|
||||
mem_heap_extra_B=134190
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=42
|
||||
#-----------
|
||||
time=210547102
|
||||
mem_heap_B=31555282
|
||||
mem_heap_extra_B=135070
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=43
|
||||
#-----------
|
||||
time=216169061
|
||||
mem_heap_B=31572218
|
||||
mem_heap_extra_B=136238
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n3: 31572218 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 3078394 in 1109 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=44
|
||||
#-----------
|
||||
time=230553051
|
||||
mem_heap_B=31431246
|
||||
mem_heap_extra_B=140922
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=45
|
||||
#-----------
|
||||
time=244772180
|
||||
mem_heap_B=31436565
|
||||
mem_heap_extra_B=141123
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=46
|
||||
#-----------
|
||||
time=248297748
|
||||
mem_heap_B=32341986
|
||||
mem_heap_extra_B=145006
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=47
|
||||
#-----------
|
||||
time=251248372
|
||||
mem_heap_B=32564861
|
||||
mem_heap_extra_B=146819
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=48
|
||||
#-----------
|
||||
time=254080766
|
||||
mem_heap_B=32486431
|
||||
mem_heap_extra_B=158801
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=49
|
||||
#-----------
|
||||
time=259008988
|
||||
mem_heap_B=33138462
|
||||
mem_heap_extra_B=157474
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n4: 33138462 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 4013677 in 1237 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 630961 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6417 in 9 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=50
|
||||
#-----------
|
||||
time=261382724
|
||||
mem_heap_B=33140042
|
||||
mem_heap_extra_B=157582
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=51
|
||||
#-----------
|
||||
time=262238004
|
||||
mem_heap_B=33462101
|
||||
mem_heap_extra_B=171091
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n4: 33462101 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 4337212 in 1264 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=52
|
||||
#-----------
|
||||
time=264340178
|
||||
mem_heap_B=35076124
|
||||
mem_heap_extra_B=264700
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=53
|
||||
#-----------
|
||||
time=264522385
|
||||
mem_heap_B=35209063
|
||||
mem_heap_extra_B=271729
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 35209063 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 4023918 in 1263 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 2060256 0x7CF7C44: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n1: 2016944 0x7CF7C9C: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 2016944 in 562 places, all below massif's threshold (1.00%)
|
||||
n0: 43312 in 15 places, all below massif's threshold (1.00%)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=54
|
||||
#-----------
|
||||
time=266450134
|
||||
mem_heap_B=36635781
|
||||
mem_heap_extra_B=352739
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 36635781 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 4031276 in 1263 places, all below massif's threshold (1.00%)
|
||||
n2: 3479616 0x7CF7C44: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n2: 3408384 0x7CF7C9C: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 3010944 in 636 places, all below massif's threshold (1.00%)
|
||||
n1: 397440 0x801BD59: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 397440 in 115 places, all below massif's threshold (1.00%)
|
||||
n0: 71232 in 15 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=55
|
||||
#-----------
|
||||
time=268552329
|
||||
mem_heap_B=38069090
|
||||
mem_heap_extra_B=436686
|
||||
mem_stacks_B=0
|
||||
heap_tree=empty
|
||||
#-----------
|
||||
snapshot=56
|
||||
#-----------
|
||||
time=269125691
|
||||
mem_heap_B=38452828
|
||||
mem_heap_extra_B=459516
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 38452828 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 5289696 0x7CF7C44: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n2: 5209904 0x7CF7C9C: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 4641008 in 823 places, all below massif's threshold (1.00%)
|
||||
n1: 568896 0x801BD59: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 568896 in 146 places, all below massif's threshold (1.00%)
|
||||
n0: 79792 in 15 places, all below massif's threshold (1.00%)
|
||||
n0: 4038243 in 1263 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=57
|
||||
#-----------
|
||||
time=270072963
|
||||
mem_heap_B=38821188
|
||||
mem_heap_extra_B=480420
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 38821188 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 5657616 0x7CF7C44: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n2: 5575184 0x7CF7C9C: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 4964432 in 823 places, all below massif's threshold (1.00%)
|
||||
n1: 610752 0x801BD59: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 610752 in 146 places, all below massif's threshold (1.00%)
|
||||
n0: 82432 in 15 places, all below massif's threshold (1.00%)
|
||||
n0: 4038683 in 1263 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=58
|
||||
#-----------
|
||||
time=270825955
|
||||
mem_heap_B=39243104
|
||||
mem_heap_extra_B=499224
|
||||
mem_stacks_B=0
|
||||
heap_tree=detailed
|
||||
n5: 39243104 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 5972720 0x7CF7C44: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n2: 5884432 0x7CF7C9C: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 5227600 in 845 places, all below massif's threshold (1.00%)
|
||||
n1: 656832 0x801BD59: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 656832 in 154 places, all below massif's threshold (1.00%)
|
||||
n0: 88288 in 15 places, all below massif's threshold (1.00%)
|
||||
n0: 4145495 in 1268 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
||||
#-----------
|
||||
snapshot=59
|
||||
#-----------
|
||||
time=271349246
|
||||
mem_heap_B=39644278
|
||||
mem_heap_extra_B=503178
|
||||
mem_stacks_B=0
|
||||
heap_tree=peak
|
||||
n5: 39644278 (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
|
||||
n1: 25165824 0x150AFA: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 25165824 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 25165824 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 25165824 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 6351872 0x7CF7C44: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n2: 5891776 0x7CF7C9C: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 5234944 in 847 places, all below massif's threshold (1.00%)
|
||||
n1: 656832 0x801BD59: ??? (in /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so)
|
||||
n0: 656832 in 154 places, all below massif's threshold (1.00%)
|
||||
n0: 460096 in 17 places, all below massif's threshold (1.00%)
|
||||
n0: 4167517 in 1283 places, all below massif's threshold (1.00%)
|
||||
n1: 3328000 0x152A6A: __static_initialization_and_destruction_0() (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 3328000 0x4D3D7F5: call_init (libc-start.c:145)
|
||||
n1: 3328000 0x4D3D7F5: __libc_start_main@@GLIBC_2.34 (libc-start.c:347)
|
||||
n0: 3328000 0x156B50: (below main) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n2: 631065 0x1E9DE0: ImGui::MemAlloc(unsigned long) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n1: 624544 0x2328A5: ImFontAtlas::AddFontFromMemoryCompressedTTF(void const*, int, float, ImFontConfig const*, unsigned short const*) (in /home/brett/Documents/code/c++/GP_Image_Test/cmake-build-release/gp_image_test)
|
||||
n0: 624544 in 4 places, all below massif's threshold (1.00%)
|
||||
n0: 6521 in 10 places, all below massif's threshold (1.00%)
|
File diff suppressed because it is too large
Load Diff
|
@ -33,6 +33,8 @@ node* createNode(function_t type)
|
|||
|
||||
void destroyNode(node* n)
|
||||
{
|
||||
if (n == nullptr)
|
||||
return;
|
||||
node_allocator.destroy(n);
|
||||
node_allocator.deallocate(n, 1);
|
||||
}
|
||||
|
|
21
src/main.cpp
21
src/main.cpp
|
@ -7,8 +7,10 @@
|
|||
#include "blt/gfx/renderer/resource_manager.h"
|
||||
#include "blt/gfx/renderer/batch_2d_renderer.h"
|
||||
#include "blt/std/assert.h"
|
||||
#include "blt/std/system.h"
|
||||
#include "imgui.h"
|
||||
#include "extern.h"
|
||||
#include "blt/std/format.h"
|
||||
#include <variant>
|
||||
#include <random>
|
||||
#include <queue>
|
||||
|
@ -211,7 +213,7 @@ class tree
|
|||
float fitness()
|
||||
{
|
||||
auto& img = root->getImage();
|
||||
return eval_DNF_SW(img) * eval_DNF_SW_1(img);
|
||||
return eval_DNF_SW(img) * eval_DNF_SW_1(img) * static_cast<float>(depth(root.get()));
|
||||
}
|
||||
|
||||
void printTree()
|
||||
|
@ -314,7 +316,7 @@ class gp_population
|
|||
|
||||
if (auto r = tree::mutate(p1))
|
||||
{
|
||||
new_pop[insert_pos++] = {std::move(r->c)};
|
||||
new_pop[insert_pos++] = gp_i{std::move(r->c), 0};
|
||||
mutation_count++;
|
||||
}
|
||||
}
|
||||
|
@ -369,6 +371,11 @@ class gp_population
|
|||
{
|
||||
return get_best().second;
|
||||
}
|
||||
|
||||
void print_best()
|
||||
{
|
||||
pop[get_best().first].t->printTree();
|
||||
}
|
||||
};
|
||||
|
||||
gp_population pop;
|
||||
|
@ -429,7 +436,17 @@ void update(std::int32_t w, std::int32_t h)
|
|||
BLT_INFO("Uploading");
|
||||
texture->upload((void*) pop.display_best().getData().data(), GL_RGB, 0, 0, 0, -1, -1, GL_FLOAT);
|
||||
}
|
||||
|
||||
if (ImGui::Button("Print"))
|
||||
{
|
||||
pop.print_best();
|
||||
}
|
||||
ImGui::Text("Best Fitness: %f", best);
|
||||
auto data = blt::system::get_memory_process();
|
||||
ImGui::Text("Physical Memory Usage: %s", blt::string::fromBytes(data.resident).c_str());
|
||||
ImGui::Text("Shared Memory Usage: %s", blt::string::fromBytes(data.shared).c_str());
|
||||
ImGui::Text("Total Memory Usage: %s", blt::string::fromBytes(data.size).c_str());
|
||||
ImGui::Text("Stack Usage?: %s", blt::string::fromBytes(data.data - data.text - data.resident).c_str());
|
||||
|
||||
auto lw = 512.0f;
|
||||
auto lh = 512.0f;
|
||||
|
|
Loading…
Reference in New Issue