Retrieve instrumentation information as a Scilab value
prof = profileGetInfo()
A Scilab ProfilerStatistics
tlist with fields :
FunctionTable
containing functions description, FunctionCoverage
containing functions runtime statistics and LineCoverage
containing line coverage per function.
This command retrieve the profiled information as a Scilab data-structure which contains function information, function statistics and line coverage.
The tlist ProfilerStatistics
contains:
a struct of profiled functions information containing:
the function name.
the macro .bin
file used to defined the function.
the number of the first executed line of the macro.
the library name (with its lib suffix) containing the function.
index to the parent function for inner functions.
a struct of profiled functions information containing:
the number of call to this function.
the time spent in seconds within this function.
a vector 2xN
of uint64
, where N
is the executed lines count, containing the number of executed instructions and the number of non-executed instructions.
a vector 2xN
of uint64
, where N
is the executed lines count, containing the number of executed branches and the number of non-executed branches.
a vector 1xN
of uint64
, where N
is the executed lines count, containing the number of executed paths.
a list of M
vectors of double
, where M
the number of instrumented functions, storing execution counters per function with:
the number of times the line j
of the function j
has been executed or containing -1
if this is not an executable line.
cumulated CPU time [in seconds] spent to execute the line j
of the function j
.