Developer Guide and Reference

Contents

finstrument-functions, Qinstrument-functions

Determines whether
function
entry and exit points are instrumented.

Syntax

Linux and macOS:
-finstrument-functions
-fno-instrument-functions
Windows:
/Qinstrument-functions
/Qinstrument-functions-
Arguments
None
Default
-fno-instrument-functions
or
/Qinstrument-functions-
Function
entry and exit points are not instrumented.
Description
This option determines whether
function
entry and exit points are instrumented. It may increase execution time.
The following profiling functions are called with the address of the current
function
and the address of where the
function
was called (its "call site"):
  • This function is called upon
    function
    entry:
    • void __cyg_profile_func_enter (void *this_fn,
      void *call_site);
  • This function is called upon
    function
    exit: