<br><br><div><span class="gmail_quote">On 9/3/08, <b class="gmail_sendername">Raimo Niskanen</b> <<a href="mailto:raimo%2Berlang-questions@erix.ericsson.se">raimo+erlang-questions@erix.ericsson.se</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
<br> > c) In nearly every block of information, there is an entry named "undefined"<br> > with large numbers against it. What does this mean?<br><br><br>Can you give an example?</blockquote><div><br>Here is one:<br>
<br>{[{undefined, 156757, 7629.458, 997.459},<br> {{digraph,out_neighbours,2}, 63, 0.000, 0.368}],<br> { {digraph,out_neighbours,2}, 156820, 7629.458, 997.827}, %<br>
[{{digraph,collect_elems,3}, 156820, 5907.714, 471.786},<br> {{ets,lookup,2}, 156820, 660.148, 660.148},<br> {garbage_collect, 85, 58.944, 58.944},<br>
{suspend, 353, 4.233, 0.000},<br> {{digraph,in_neighbours,2}, 8, 0.343, 0.044},<br> {{lists,dropwhile,2}, 3, 0.218, 0.010},<br>
{{lists,filter,2}, 1, 0.031, 0.006},<br> {{digraph,out_neighbours,2}, 63, 0.000, 0.368}]}.<br><br>Every module listed above is from the Erlang distribution.<br>
</div><br><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
> Could these be because I have not invoked/named my functions in some<br> > specified manner?<br><br>Yes, probably. How _did_ you trace?</blockquote><div><br>At the erl prompt : <br><br> > fprof:apply(graphs_test, test_run, [300, 3, 1, false], [file]).<br>
<br> > fprof:profile([file, {dump, []}]).<br><br>> fprof:analyse([{dest, []}, totals]). <br><br> <br>Now look at the file "fprof.analysis" .<br></div></div><br><br>Thanks,<br>Philip<br>