<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Dear all,</p>
<p>After removing the former set of useful and handy profiling
functions used in Scilab 5, two sets of new functions dedicated to
diagnosis of code performances are proposed in Scilab 6:</p>
<ul>
<li>coverage functions: covStart, covStop, codeWrite, codeMerge<br>
</li>
<li>profiling functions: profileEnable, profileDisable,
profileGetInfo</li>
</ul>
<p>They are gathered in the same section:
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.1.0/en_US/section_c03e1a5123246ff8c6ebb512f543c540.html">https://help.scilab.org/docs/6.1.0/en_US/section_c03e1a5123246ff8c6ebb512f543c540.html</a><br>
</p>
<p>I am wondering about the difference between both sets. I mean, i
don't understand when using coverage functions, and when using
profiling ones.<br>
By the way, when using <b>profile</b>GetInfo(), the two main
fields of the result are about <b>coverage</b>: <br>
</p>
<ul>
<li>
<div class="refsection">
<dl>
<dt> <span class="term">profileGetInfo().<b>FunctionCoverage</b></span></dt>
</dl>
</div>
</li>
<li>
<div class="refsection">
<p><span class="term">profileGetInfo().<b>LineCoverage</b></span></p>
</div>
</li>
</ul>
<p>I am afraid i am lost... Are these 2 sets doing the same thing
and the difference is just in the presentation of the results
(then has this really deserved two distinct sets, noticeably with
start and stop duplicates?), or are they really about distinct
usages for distinct information?</p>
<p>Thanks for any informed clarification about these important
tools. For the time being, i am just unable to use them, and
Scilab-5-like profiling results miss me.</p>
Best regards<br>
<p>Samuel Gougeon</p>
<p><br>
</p>
</body>
</html>