Open main menu

CDOT Wiki β

Changes

Profiling

61 bytes added, 12:37, 15 November 2023
Example: Profiling with perf
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''', '''routines''', or '''subroutines'''. The distinction between functions, methods, procedures, routines, and procedures subroutines is effectively one of terminology and "packaging" only - at the [[Machine Language|machine code]] level, the distinction effectively disappears.}}
=== Optional Lab ===
The [[SPO600 Profiling Lab]] was used in previous semesters in the SPO600 course. It is not a required lab in the current version of the course.