Profiling

From CDOT Wiki
Revision as of 00:26, 12 January 2015 by Chris Tyler (talk | contribs) (Created page with '{{Chris Tyler Draft}}Category:SPO600 Profiling is the process of determining how a program is using the resources that it is consuming. == Resource that can be Profiled == …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Important.png
This is a draft only!
It is still under construction and content may change. Do not rely on this information.

Profiling is the process of determining how a program is using the resources that it is consuming.

Resource that can be Profiled

Resources consumption that can be analyzed during profiling include:

  • Time (both clock time (total real time, user time, and the amount of time the kernel spent on behalf of the program)
  • Memory
  • Temporary storage
  • Energy (this is a relatively new area of profiling)

Profiling Granularity

Most profiling systems determine resource usage on a per-function basis.

Note.png
Function vs. Method
When programming in an object-oriented language, code blocks may be called methods. The distinction between functions and methods is effectively on of "packaging" only - at the machine code level, the distinction disappears.