Changes

Jump to: navigation, search

Profiling

No change in size, 14:36, 7 November 2019
Example: Profiling with perf
Perf does not use instrumentation, so no changes are required to the build process.
To record performance data, run perf with the <code>record</code> argument: <code>perf record '''nameOfExecutable''</code>To display performance data, run perf with the <code>report</code> argument: <code>perf report|less</code > for non-interactive output, or <code>perf report</code> for interactive display
{{Admon/note|Function vs. Method vs. Procedure|In procedural languages, called code blocks are often called '''functions'''. When programming in an object-oriented language, called code blocks may be called '''methods'''. Older or more general documentation may refer to called code blocks as '''procedures'''. The distinction between functions, methods, and procedures is effectively one of terminology and "packaging" only - at the [[Machine Language|machine code]] level, the distinction effectively disappears.}}

Navigation menu