Created
September 30, 2013 18:45
-
-
Save sithhell/6768237 to your computer and use it in GitHub Desktop.
valgrind example
This file contains 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
[13:43:37]:heller@c558-302.stampede.tacc.utexas.edu:/work/02405/heller/build/hpx/relwithdeb-host:0:$ time ./bin/hello_world | |
hello world from OS-thread 4 on locality 0 | |
hello world from OS-thread 7 on locality 0 | |
hello world from OS-thread 0 on locality 0 | |
hello world from OS-thread 14 on locality 0 | |
hello world from OS-thread 13 on locality 0 | |
hello world from OS-thread 9 on locality 0 | |
hello world from OS-thread 2 on locality 0 | |
hello world from OS-thread 12 on locality 0 | |
hello world from OS-thread 3 on locality 0 | |
hello world from OS-thread 11 on locality 0 | |
hello world from OS-thread 6 on locality 0 | |
hello world from OS-thread 8 on locality 0 | |
hello world from OS-thread 10 on locality 0 | |
hello world from OS-thread 15 on locality 0 | |
hello world from OS-thread 5 on locality 0 | |
hello world from OS-thread 1 on locality 0 | |
real 0m0.320s | |
user 0m1.287s | |
sys 0m0.120s | |
[13:43:50]:heller@c558-302.stampede.tacc.utexas.edu:/work/02405/heller/build/hpx/relwithdeb-host:0:$ time valgrind --gen-suppressions=yes --suppressions=suppressions.valgrind ./bin/hello_world | |
==79368== Memcheck, a memory error detector | |
==79368== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al. | |
==79368== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info | |
==79368== Command: ./bin/hello_world | |
==79368== | |
hello world from OS-thread 4 on locality 0 | |
hello world from OS-thread 8 on locality 0 | |
hello world from OS-thread 6 on locality 0 | |
hello world from OS-thread 13 on locality 0 | |
hello world from OS-thread 12 on locality 0 | |
hello world from OS-thread 15 on locality 0 | |
hello world from OS-thread 0 on locality 0 | |
hello world from OS-thread 14 on locality 0 | |
hello world from OS-thread 3 on locality 0 | |
hello world from OS-thread 5 on locality 0 | |
hello world from OS-thread 9 on locality 0 | |
hello world from OS-thread 7 on locality 0 | |
hello world from OS-thread 11 on locality 0 | |
hello world from OS-thread 1 on locality 0 | |
hello world from OS-thread 2 on locality 0 | |
hello world from OS-thread 10 on locality 0 | |
==79368== | |
==79368== HEAP SUMMARY: | |
==79368== in use at exit: 0 bytes in 0 blocks | |
==79368== total heap usage: 1 allocs, 1 frees, 1,024 bytes allocated | |
==79368== | |
==79368== All heap blocks were freed -- no leaks are possible | |
==79368== | |
==79368== For counts of detected and suppressed errors, rerun with: -v | |
==79368== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 11673 from 2229) | |
real 0m43.252s | |
user 0m42.878s | |
sys 0m2.230s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment