-
Notifications
You must be signed in to change notification settings - Fork 49
CPU Profiling
Peter Shih edited this page Aug 16, 2017
·
3 revisions
- g++ with pg option (deprecated after gcc 6.x)
- Visual Studio profiling tool
- gperftools
sudo apt-get install google-perftools graphviz
Integrated gperftools
with gcc-7 makefile:
make cpu
Run the computation for a while, and gracefully exit. The result should be opened in a browser (or any other default program to open the svg file)