-
-
Save LesnyRumcajs/0e10dc6c2ac8d3e433e91a49ece881d5 to your computer and use it in GitHub Desktop.
valgrind massif output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------------------------------------------- | |
| Command: target/profiling/tst | |
| Massif arguments: (none) | |
| ms_print arguments: massif.out.247408 | |
| -------------------------------------------------------------------------------- | |
| MB | |
| 708.0^ # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| | # | |
| 0 +----------------------------------------------------------------------->ki | |
| 0 344.5 | |
| Number of snapshots: 20 | |
| Detailed snapshots: [5, 15, 17 (peak)] | |
| -------------------------------------------------------------------------------- | |
| n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) | |
| -------------------------------------------------------------------------------- | |
| 0 0 0 0 0 0 | |
| 1 262,827 488 472 16 0 | |
| 2 263,392 624 592 32 0 | |
| 3 263,553 1,656 1,616 40 0 | |
| 4 284,087 1,768 1,736 32 0 | |
| 5 350,425 1,768 1,736 32 0 | |
| 98.19% (1,736B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. | |
| ->57.92% (1,024B) 0x494492B: _IO_file_doallocate (filedoalloc.c:101) | |
| | ->57.92% (1,024B) 0x4954AC5: _IO_doallocbuf (genops.c:373) | |
| | ->57.92% (1,024B) 0x4954AC5: _IO_doallocbuf (genops.c:368) | |
| | ->57.92% (1,024B) 0x49525CD: _IO_file_underflow@@GLIBC_2.2.5 (fileops.c:520) | |
| | ->57.92% (1,024B) 0x49465B8: getdelim (iogetdelim.c:77) | |
| | ->57.92% (1,024B) 0x495C945: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:122) | |
| | ->57.92% (1,024B) 0x401CDAE: get_stack_start (stack_overflow.rs:331) | |
| | ->57.92% (1,024B) 0x401CDAE: stack_start_aligned (stack_overflow.rs:348) | |
| | ->57.92% (1,024B) 0x401CDAE: install_main_guard_linux (stack_overflow.rs:397) | |
| | ->57.92% (1,024B) 0x401CDAE: install_main_guard (stack_overflow.rs:372) | |
| | ->57.92% (1,024B) 0x401CDAE: init (stack_overflow.rs:132) | |
| | ->57.92% (1,024B) 0x401CDAE: init (mod.rs:48) | |
| | ->57.92% (1,024B) 0x401CDAE: init (rt.rs:107) | |
| | ->57.92% (1,024B) 0x401CDAE: {closure | |
| | ->57.92% (1,024B) 0x401CDAE: do_call<std::rt::lang_start_internal::{closure_env | |
| | ->57.92% (1,024B) 0x401CDAE: try<isize, std::rt::lang_start_internal::{closure_env | |
| | ->57.92% (1,024B) 0x401CDAE: catch_unwind<std::rt::lang_start_internal::{closure_env | |
| | ->57.92% (1,024B) 0x401CDAE: std::rt::lang_start_internal (rt.rs:164) | |
| | ->57.92% (1,024B) 0x40026E6: std::rt::lang_start (rt.rs:198) | |
| | ->57.92% (1,024B) 0x400263D: main (in /tmp/tst/target/profiling/tst) | |
| | | |
| ->26.70% (472B) 0x4945537: __fopen_internal (iofopen.c:65) | |
| | ->26.70% (472B) 0x495C7E6: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:85) | |
| | ->26.70% (472B) 0x401CDAE: get_stack_start (stack_overflow.rs:331) | |
| | ->26.70% (472B) 0x401CDAE: stack_start_aligned (stack_overflow.rs:348) | |
| | ->26.70% (472B) 0x401CDAE: install_main_guard_linux (stack_overflow.rs:397) | |
| | ->26.70% (472B) 0x401CDAE: install_main_guard (stack_overflow.rs:372) | |
| | ->26.70% (472B) 0x401CDAE: init (stack_overflow.rs:132) | |
| | ->26.70% (472B) 0x401CDAE: init (mod.rs:48) | |
| | ->26.70% (472B) 0x401CDAE: init (rt.rs:107) | |
| | ->26.70% (472B) 0x401CDAE: {closure | |
| | ->26.70% (472B) 0x401CDAE: do_call<std::rt::lang_start_internal::{closure_env | |
| | ->26.70% (472B) 0x401CDAE: try<isize, std::rt::lang_start_internal::{closure_env | |
| | ->26.70% (472B) 0x401CDAE: catch_unwind<std::rt::lang_start_internal::{closure_env | |
| | ->26.70% (472B) 0x401CDAE: std::rt::lang_start_internal (rt.rs:164) | |
| | ->26.70% (472B) 0x40026E6: std::rt::lang_start (rt.rs:198) | |
| | ->26.70% (472B) 0x400263D: main (in /tmp/tst/target/profiling/tst) | |
| | | |
| ->13.57% (240B) 0x4946459: getdelim (iogetdelim.c:107) | |
| | ->13.57% (240B) 0x495C945: pthread_getattr_np@@GLIBC_2.32 (pthread_getattr_np.c:122) | |
| | ->13.57% (240B) 0x401CDAE: get_stack_start (stack_overflow.rs:331) | |
| | ->13.57% (240B) 0x401CDAE: stack_start_aligned (stack_overflow.rs:348) | |
| | ->13.57% (240B) 0x401CDAE: install_main_guard_linux (stack_overflow.rs:397) | |
| | ->13.57% (240B) 0x401CDAE: install_main_guard (stack_overflow.rs:372) | |
| | ->13.57% (240B) 0x401CDAE: init (stack_overflow.rs:132) | |
| | ->13.57% (240B) 0x401CDAE: init (mod.rs:48) | |
| | ->13.57% (240B) 0x401CDAE: init (rt.rs:107) | |
| | ->13.57% (240B) 0x401CDAE: {closure | |
| | ->13.57% (240B) 0x401CDAE: do_call<std::rt::lang_start_internal::{closure_env | |
| | ->13.57% (240B) 0x401CDAE: try<isize, std::rt::lang_start_internal::{closure_env | |
| | ->13.57% (240B) 0x401CDAE: catch_unwind<std::rt::lang_start_internal::{closure_env | |
| | ->13.57% (240B) 0x401CDAE: std::rt::lang_start_internal (rt.rs:164) | |
| | ->13.57% (240B) 0x40026E6: std::rt::lang_start (rt.rs:198) | |
| | ->13.57% (240B) 0x400263D: main (in /tmp/tst/target/profiling/tst) | |
| | | |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | |
| -------------------------------------------------------------------------------- | |
| n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) | |
| -------------------------------------------------------------------------------- | |
| 6 350,425 1,520 1,496 24 0 | |
| 7 350,752 488 472 16 0 | |
| 8 350,884 0 0 0 0 | |
| 9 350,939 40 32 8 0 | |
| 10 351,077 208 184 24 0 | |
| 11 351,135 248 216 32 0 | |
| 12 351,204 208 184 24 0 | |
| 13 351,286 168 152 16 0 | |
| 14 351,318 0 0 0 0 | |
| 15 352,160 44,044,232 44,040,192 4,040 0 | |
| 99.99% (44,040,192B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. | |
| ->99.99% (44,040,192B) 0x40020B4: std::sys::alloc::unix::<impl core::alloc::global::GlobalAlloc for std::alloc::System>::alloc_zeroed (unix.rs:36) | |
| | ->99.99% (44,040,192B) 0x4002611: __rustc::__rust_alloc_zeroed (main.rs:3) | |
| | ->99.99% (44,040,192B) 0x4030786: alloc::raw_vec::RawVecInner<A>::try_allocate_in (in /tmp/tst/target/profiling/tst) | |
| | ->99.99% (44,040,192B) 0x4001E64: <u8 as alloc::vec::spec_from_elem::SpecFromElem>::from_elem (mod.rs:447) | |
| | ->99.99% (44,040,192B) 0x400273E: alloc::vec::from_elem (mod.rs:3220) | |
| | ->99.99% (44,040,192B) 0x4002493: tst::allocate_memory (main.rs:6) | |
| | ->99.99% (44,040,192B) 0x40024C2: tst::main (main.rs:11) | |
| | ->99.99% (44,040,192B) 0x4001C5A: core::ops::function::FnOnce::call_once (function.rs:250) | |
| | ->99.99% (44,040,192B) 0x400275D: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
| | ->99.99% (44,040,192B) 0x4002700: std::rt::lang_start::{{closure}} (rt.rs:199) | |
| | ->99.99% (44,040,192B) 0x401D003: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:284) | |
| | ->99.99% (44,040,192B) 0x401D003: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:589) | |
| | ->99.99% (44,040,192B) 0x401D003: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:552) | |
| | ->99.99% (44,040,192B) 0x401D003: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:359) | |
| | ->99.99% (44,040,192B) 0x401D003: {closure | |
| | ->99.99% (44,040,192B) 0x401D003: do_call<std::rt::lang_start_internal::{closure_env | |
| | ->99.99% (44,040,192B) 0x401D003: try<isize, std::rt::lang_start_internal::{closure_env | |
| | ->99.99% (44,040,192B) 0x401D003: catch_unwind<std::rt::lang_start_internal::{closure_env | |
| | ->99.99% (44,040,192B) 0x401D003: std::rt::lang_start_internal (rt.rs:164) | |
| | ->99.99% (44,040,192B) 0x40026E6: std::rt::lang_start (rt.rs:198) | |
| | ->99.99% (44,040,192B) 0x400263D: main (in /tmp/tst/target/profiling/tst) | |
| | | |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | |
| -------------------------------------------------------------------------------- | |
| n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) | |
| -------------------------------------------------------------------------------- | |
| 16 352,413 742,399,888 742,391,808 8,080 0 | |
| 17 352,594 742,399,888 742,391,808 8,080 0 | |
| 100.00% (742,391,808B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. | |
| ->100.00% (742,391,808B) 0x40020B4: std::sys::alloc::unix::<impl core::alloc::global::GlobalAlloc for std::alloc::System>::alloc_zeroed (unix.rs:36) | |
| | ->100.00% (742,391,808B) 0x4002611: __rustc::__rust_alloc_zeroed (main.rs:3) | |
| | ->100.00% (742,391,808B) 0x4030786: alloc::raw_vec::RawVecInner<A>::try_allocate_in (in /tmp/tst/target/profiling/tst) | |
| | ->100.00% (742,391,808B) 0x4001E64: <u8 as alloc::vec::spec_from_elem::SpecFromElem>::from_elem (mod.rs:447) | |
| | ->100.00% (742,391,808B) 0x400273E: alloc::vec::from_elem (mod.rs:3220) | |
| | ->100.00% (742,391,808B) 0x4002493: tst::allocate_memory (main.rs:6) | |
| | ->94.07% (698,351,616B) 0x40024D1: tst::main (main.rs:12) | |
| | | ->94.07% (698,351,616B) 0x4001C5A: core::ops::function::FnOnce::call_once (function.rs:250) | |
| | | ->94.07% (698,351,616B) 0x400275D: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
| | | ->94.07% (698,351,616B) 0x4002700: std::rt::lang_start::{{closure}} (rt.rs:199) | |
| | | ->94.07% (698,351,616B) 0x401D003: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:284) | |
| | | ->94.07% (698,351,616B) 0x401D003: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:589) | |
| | | ->94.07% (698,351,616B) 0x401D003: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:552) | |
| | | ->94.07% (698,351,616B) 0x401D003: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:359) | |
| | | ->94.07% (698,351,616B) 0x401D003: {closure | |
| | | ->94.07% (698,351,616B) 0x401D003: do_call<std::rt::lang_start_internal::{closure_env | |
| | | ->94.07% (698,351,616B) 0x401D003: try<isize, std::rt::lang_start_internal::{closure_env | |
| | | ->94.07% (698,351,616B) 0x401D003: catch_unwind<std::rt::lang_start_internal::{closure_env | |
| | | ->94.07% (698,351,616B) 0x401D003: std::rt::lang_start_internal (rt.rs:164) | |
| | | ->94.07% (698,351,616B) 0x40026E6: std::rt::lang_start (rt.rs:198) | |
| | | ->94.07% (698,351,616B) 0x400263D: main (in /tmp/tst/target/profiling/tst) | |
| | | | |
| | ->05.93% (44,040,192B) 0x40024C2: tst::main (main.rs:11) | |
| | ->05.93% (44,040,192B) 0x4001C5A: core::ops::function::FnOnce::call_once (function.rs:250) | |
| | ->05.93% (44,040,192B) 0x400275D: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:152) | |
| | ->05.93% (44,040,192B) 0x4002700: std::rt::lang_start::{{closure}} (rt.rs:199) | |
| | ->05.93% (44,040,192B) 0x401D003: call_once<(), (dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (function.rs:284) | |
| | ->05.93% (44,040,192B) 0x401D003: do_call<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panicking.rs:589) | |
| | ->05.93% (44,040,192B) 0x401D003: try<i32, &(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe)> (panicking.rs:552) | |
| | ->05.93% (44,040,192B) 0x401D003: catch_unwind<&(dyn core::ops::function::Fn<(), Output=i32> + core::marker::Sync + core::panic::unwind_safe::RefUnwindSafe), i32> (panic.rs:359) | |
| | ->05.93% (44,040,192B) 0x401D003: {closure | |
| | ->05.93% (44,040,192B) 0x401D003: do_call<std::rt::lang_start_internal::{closure_env | |
| | ->05.93% (44,040,192B) 0x401D003: try<isize, std::rt::lang_start_internal::{closure_env | |
| | ->05.93% (44,040,192B) 0x401D003: catch_unwind<std::rt::lang_start_internal::{closure_env | |
| | ->05.93% (44,040,192B) 0x401D003: std::rt::lang_start_internal (rt.rs:164) | |
| | ->05.93% (44,040,192B) 0x40026E6: std::rt::lang_start (rt.rs:198) | |
| | ->05.93% (44,040,192B) 0x400263D: main (in /tmp/tst/target/profiling/tst) | |
| | | |
| ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%) | |
| -------------------------------------------------------------------------------- | |
| n time(i) total(B) useful-heap(B) extra-heap(B) stacks(B) | |
| -------------------------------------------------------------------------------- | |
| 18 352,594 44,044,232 44,040,192 4,040 0 | |
| 19 352,733 0 0 0 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment