Ubuntu16.04安装PAPI API
使用papi监控程序运行(CYCLE, CPI等)
Install papi
- Download from Github: git clone https://bitbucket.org/icl/papi.git
- Extract into /usr/local/
- Get into /papi/src to test papi
- ./configure
- make
- make test
- make fullest
- ./run_tests.sh -v
- sudo make install
- make install
- make install-man
- make install-tests
- make install-all
test的时候failed了没有关系
参考:https://www.cnblogs.com/dmyu/p/4648413.html