Você está na página 1de 1

profiling is a form of dynamic program analysis that measures, for example, the space (memory)

or time complexity of a program, the usage of particular instructions, or the frequency and
duration of function calls. Most commonly, profiling information serves to aid
program optimization.

Profiling is achieved by instrumenting either the program source code or its binary executable
form using a tool called a profiler (or code profiler). Profilers may use a number of different
techniques, such as event-based, statistical, instrumented, and simulation methods.

Profilers use a wide variety of techniques to collect data, including hardware interrupts, code
instrumentation, instruction set simulation, operating system hooks, and performance counters.
Profilers are used in the performance engineering process.

A system X is said to emulate another system Y if the behavior of X is exactly the same as that
of Y ( same output for same input under similar conditions) but the mechanism to arrive at the
output ( from the input) is different. Emulation is generally used when we don't exactly know the
internal mechanism of the original system but are familiar with the input/output pattern . For
example, neural networks may be used to emulate different systems. Neural networks are trained
to produce the same output for the same input as that of the original system though the
mechanism/procedure to generate the output are quite different.

Você também pode gostar