[Tutor] profiler question

Simon Wittber (Maptek) Simon.Wittber@perth.maptek.com.au
Tue Apr 29 23:57:01 2003


This is a multi-part message in MIME format.

--------------InterScan_NT_MIME_Boundary
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C30ECC.4347F110"

------_=_NextPart_001_01C30ECC.4347F110
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello people!
=20
Can anyone tell me what the line:
=20
        1    0.000    0.000    4.772    4.772 <string>:1(?)
=20
means in the below profiler output?

=20
=20
         318 function calls in 4.775 CPU seconds
=20
   Ordered by: standard name
=20
   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    4.772    4.772 <string>:1(?)
        1    0.000    0.000    0.001    0.001 jestur.py:162(match)
        8    0.001    0.000    0.001    0.000 jestur.py:179(match)
        1    0.000    0.000    0.001    0.001 jestur.py:41(recognize)
        1    0.000    0.000    0.000    0.000 jestur.py:52(startCapture)
        1    0.000    0.000    0.000    0.000
jestur.py:61(finishCapture)
      301    0.005    0.000    0.005    0.000 jestur.py:68(addPoint)
        1    0.000    0.000    0.000    0.000 jestur.py:76(getPoints)
        1    0.001    0.001    0.001    0.001
jestur.py:96(normalisePoints)
        1    0.003    0.003    4.775    4.775 profile:0(main())
        0    0.000             0.000          profile:0(profiler)
        1    4.765    4.765    4.772    4.772 testjestur.py:28(main)


------_=_NextPart_001_01C30ECC.4347F110
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D899335303-30042003>Hello=20
people!</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D899335303-30042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D899335303-30042003>Can =
anyone tell me=20
what the line:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D899335303-30042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D899335303-30042003>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
4.772&nbsp;&nbsp;&nbsp; 4.772 &lt;string&gt;:1(?)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D899335303-30042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D899335303-30042003>means =
in the below=20
profiler output?</DIV>
<DIV><BR></DIV></SPAN></FONT>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D899335303-30042003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
318 function calls in 4.775 CPU seconds</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; Ordered by: standard =
name</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp; ncalls&nbsp; tottime&nbsp; =

percall&nbsp; cumtime&nbsp; percall=20
filename:lineno(function)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
4.772&nbsp;&nbsp;&nbsp; 4.772=20
&lt;string&gt;:1(?)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.001&nbsp;&nbsp;&nbsp; 0.001=20
jestur.py:162(match)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
8&nbsp;&nbsp;&nbsp; 0.001&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.001&nbsp;&nbsp;&nbsp; 0.000=20
jestur.py:179(match)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.001&nbsp;&nbsp;&nbsp; 0.001=20
jestur.py:41(recognize)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.000&nbsp;&nbsp;&nbsp; 0.000=20
jestur.py:52(startCapture)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.000&nbsp;&nbsp;&nbsp; 0.000=20
jestur.py:61(finishCapture)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
301&nbsp;&nbsp;&nbsp; 0.005&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.005&nbsp;&nbsp;&nbsp; 0.000=20
jestur.py:68(addPoint)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp; 0.000&nbsp;&nbsp;&nbsp;=20
0.000&nbsp;&nbsp;&nbsp; 0.000=20
jestur.py:76(getPoints)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 0.001&nbsp;&nbsp;&nbsp; 0.001&nbsp;&nbsp;&nbsp;=20
0.001&nbsp;&nbsp;&nbsp; 0.001=20
jestur.py:96(normalisePoints)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
1&nbsp;&nbsp;&nbsp; 0.003&nbsp;&nbsp;&nbsp; 0.003&nbsp;&nbsp;&nbsp;=20
4.775&nbsp;&nbsp;&nbsp; 4.775=20
profile:0(main())<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
0&nbsp;&nbsp;&nbsp;=20
0.000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20
0.000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
profile:0(profiler)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
1&nbsp;&nbsp;&nbsp; 4.765&nbsp;&nbsp;&nbsp; 4.765&nbsp;&nbsp;&nbsp;=20
4.772&nbsp;&nbsp;&nbsp; 4.772=20
testjestur.py:28(main)<BR></FONT></DIV></BODY></HTML>
=00
------_=_NextPart_001_01C30ECC.4347F110--

--------------InterScan_NT_MIME_Boundary--