User Tools

Site Tools


perf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
perf [2014/08/17 23:49] mikael.ohmanperf [2014/08/19 12:57] – [Perf] mikael.ohman
Line 19: Line 19:
  
 Perf has very small overhead, but only does statistical sampling. Perf has very small overhead, but only does statistical sampling.
 +
 +
 +//Users of perf will likely first need to turn off the restrictions before they are able to run ''perf record'' as normal users://
 +
 +''sudo sh -c "echo 0 > /proc/sys/kernel/kptr_restrict"''
 ===== Callgrind ===== ===== Callgrind =====
 Callgrind is a tool in valgrind, and should only be used on medium. This has a huge overhead, so expect OOFEM to run over a hundred times slower through valgrind. Callgrind is a tool in valgrind, and should only be used on medium. This has a huge overhead, so expect OOFEM to run over a hundred times slower through valgrind.
perf.txt · Last modified: 2014/08/22 00:11 by mikael.ohman