We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a37d0b3 commit 5770edbCopy full SHA for 5770edb
1 file changed
section4/gperf.cpp
@@ -1,5 +1,13 @@
1
// Copyright (c) 2020 by Chrono
2
//
3
+// sudo cp src/pprof /usr/bin
4
+//
5
+// pprof --text ./a.out case1.perf > case1.txt
6
+// pprof --pdf ./a.out case1.perf >case1.pdf
7
+// pprof --svg ./a.out case1.perf >case1.svg
8
+// pprof --collapsed ./a.out case1.perf > case1.cbt
9
+// ./flamegraph.pl case1.cbt > fg.svg
10
11
// g++ gperf.cpp -std=c++14 -lprofiler -ltcmalloc -g -O0 -o a.out;./a.out
12
13
#include <cassert>
0 commit comments