Documentation/Source/eric5.DebugClients.Python.PyProfile.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.DebugClients.Python.PyProfile</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.DebugClients.Python.PyProfile</h1>
12 <p>
13 &#77;&#111;&#100;&#117;&#108;&#101; &#100;&#101;&#102;&#105;&#110;&#105;&#110;&#103; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110;&#115; &#116;&#111; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#80;y&#116;&#104;&#111;&#110; &#112;&#114;&#111;&#102;&#105;&#108;&#101;.&#112;y.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#PyProfile">PyProfile</a></td>
23 <td>&#67;&#108;&#97;&#115;&#115; &#101;x&#116;&#101;&#110;&#100;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#80;y&#116;&#104;&#111;&#110; &#112;&#114;&#111;&#102;&#105;&#108;&#101;&#114; w&#105;&#116;&#104; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100;&#115;.</td>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <hr /><hr />
31 <a NAME="PyProfile" ID="PyProfile"></a>
32 <h2>PyProfile</h2>
33 <p>
34 &#67;&#108;&#97;&#115;&#115; &#101;x&#116;&#101;&#110;&#100;&#105;&#110;&#103; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#80;y&#116;&#104;&#111;&#110; &#112;&#114;&#111;&#102;&#105;&#108;&#101;&#114; w&#105;&#116;&#104; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110;&#97;&#108; &#109;&#101;&#116;&#104;&#111;&#100;&#115;.
35 </p><p>
36 &#84;&#104;&#105;&#115; &#99;&#108;&#97;&#115;&#115; &#101;x&#116;&#101;&#110;&#100;&#115; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#80;y&#116;&#104;&#111;&#110; &#112;&#114;&#111;&#102;&#105;&#108;&#101;&#114; &#98;y &#116;&#104;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;&#97;&#108;&#105;&#116;y &#116;&#111;
37 &#115;&#97;v&#101; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#116;&#105;&#109;&#105;&#110;&#103; &#100;&#97;&#116;&#97; &#105;&#110; &#97; &#116;&#105;&#109;&#105;&#110;&#103; &#99;&#97;&#99;&#104;&#101;, &#116;&#111; &#114;&#101;&#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101;&#115;&#101; &#100;&#97;&#116;&#97;
38 &#111;&#110; &#115;&#117;&#98;&#115;&#101;&#113;&#117;&#101;&#110;&#116; &#99;&#97;&#108;&#108;&#115;, &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#97; &#112;&#114;&#111;&#102;&#105;&#108;&#101; &#100;&#117;&#109;&#112; &#116;&#111; &#97; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#97;&#110;&#100;
39 &#116;&#111; &#101;&#114;&#97;&#115;&#101; &#116;&#104;&#101;&#115;&#101; &#99;&#97;&#99;&#104;&#101;&#115;.
40 </p>
41 <h3>Derived from</h3>
42 profile.Profile
43 <h3>Class Attributes</h3>
44 <table>
45 <tr><td>dispatch</td></tr>
46 </table>
47 <h3>Methods</h3>
48 <table>
49 <tr>
50 <td><a href="#PyProfile.__init__">PyProfile</a></td>
51 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
52 </tr><tr>
53 <td><a href="#PyProfile.__restore">__restore</a></td>
54 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#116;&#105;&#109;&#105;&#110;&#103; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#116;&#105;&#109;&#105;&#110;&#103; &#99;&#97;&#99;&#104;&#101;.</td>
55 </tr><tr>
56 <td><a href="#PyProfile.dump_stats">dump_stats</a></td>
57 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#117;&#109;&#112; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#105;&#115;&#116;&#105;&#99;&#115; &#100;&#97;&#116;&#97;.</td>
58 </tr><tr>
59 <td><a href="#PyProfile.erase">erase</a></td>
60 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#114;&#97;&#115;&#101; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#116;&#105;&#109;&#105;&#110;&#103; &#100;&#97;&#116;&#97;.</td>
61 </tr><tr>
62 <td><a href="#PyProfile.fix_frame_filename">fix_frame_filename</a></td>
63 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#102;&#105;x&#117;&#112; &#116;&#104;&#101; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#102;&#111;&#114; &#97; &#103;&#105;v&#101;&#110; &#102;&#114;&#97;&#109;&#101;.</td>
64 </tr><tr>
65 <td><a href="#PyProfile.save">save</a></td>
66 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#112;&#114;&#111;&#102;&#105;&#108;&#101; &#100;&#97;&#116;&#97;.</td>
67 </tr><tr>
68 <td><a href="#PyProfile.trace_dispatch_call">trace_dispatch_call</a></td>
69 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#116;&#114;&#97;&#99;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;&#115; &#99;&#97;&#108;&#108;&#115;.</td>
70 </tr>
71 </table>
72 <a NAME="PyProfile.__init__" ID="PyProfile.__init__"></a>
73 <h4>PyProfile (Constructor)</h4>
74 <b>PyProfile</b>(<i>basename, timer=None, bias=None</i>)
75 <p>
76 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
77 </p><dl>
78 <dt><i>basename</i></dt>
79 <dd>
80 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#115;&#99;&#114;&#105;&#112;&#116; &#116;&#111; &#98;&#101; &#112;&#114;&#111;&#102;&#105;&#108;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
81 </dd><dt><i>timer</i></dt>
82 <dd>
83 &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#100;&#101;&#102;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#116;&#105;&#109;&#105;&#110;&#103; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#105;&#111;&#110;
84 </dd><dt><i>bias</i></dt>
85 <dd>
86 &#99;&#97;&#108;&#105;&#98;&#114;&#97;&#116;&#105;&#111;&#110; v&#97;&#108;&#117;&#101; (&#102;&#108;&#111;&#97;&#116;)
87 </dd>
88 </dl><a NAME="PyProfile.__restore" ID="PyProfile.__restore"></a>
89 <h4>PyProfile.__restore</h4>
90 <b>__restore</b>(<i></i>)
91 <p>
92 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#116;&#105;&#109;&#105;&#110;&#103; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#116;&#105;&#109;&#105;&#110;&#103; &#99;&#97;&#99;&#104;&#101;.
93 </p><a NAME="PyProfile.dump_stats" ID="PyProfile.dump_stats"></a>
94 <h4>PyProfile.dump_stats</h4>
95 <b>dump_stats</b>(<i>file</i>)
96 <p>
97 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#117;&#109;&#112; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#105;&#115;&#116;&#105;&#99;&#115; &#100;&#97;&#116;&#97;.
98 </p><dl>
99 <dt><i>file</i></dt>
100 <dd>
101 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; w&#114;&#105;&#116;&#101; &#116;&#111; (&#115;&#116;&#114;&#105;&#110;&#103;)
102 </dd>
103 </dl><a NAME="PyProfile.erase" ID="PyProfile.erase"></a>
104 <h4>PyProfile.erase</h4>
105 <b>erase</b>(<i></i>)
106 <p>
107 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;&#114;&#97;&#115;&#101; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#116;&#105;&#109;&#105;&#110;&#103; &#100;&#97;&#116;&#97;.
108 </p><a NAME="PyProfile.fix_frame_filename" ID="PyProfile.fix_frame_filename"></a>
109 <h4>PyProfile.fix_frame_filename</h4>
110 <b>fix_frame_filename</b>(<i>frame</i>)
111 <p>
112 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#102;&#105;x&#117;&#112; &#116;&#104;&#101; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#102;&#111;&#114; &#97; &#103;&#105;v&#101;&#110; &#102;&#114;&#97;&#109;&#101;.
113 </p><p>
114 &#84;&#104;&#101; &#108;&#111;&#103;&#105;&#99; &#101;&#109;&#112;&#108;&#111;y&#101;&#100; &#104;&#101;&#114;&#101; &#105;&#115; &#116;&#104;&#97;&#116; &#105;&#102; &#97; &#109;&#111;&#100;&#117;&#108;&#101; w&#97;&#115; &#108;&#111;&#97;&#100;&#101;&#100;
115 &#102;&#114;&#111;&#109; &#97; .&#112;y&#99; &#102;&#105;&#108;&#101;, &#116;&#104;&#101;&#110; &#116;&#104;&#101; &#99;&#111;&#114;&#114;&#101;&#99;&#116; .&#112;y &#116;&#111; &#111;&#112;&#101;&#114;&#97;&#116;&#101; w&#105;&#116;&#104;
116 &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#105;&#110; &#116;&#104;&#101; &#115;&#97;&#109;&#101; &#112;&#97;&#116;&#104; &#97;&#115; &#116;&#104;&#101; .&#112;y&#99;. &#84;&#104;&#101; &#114;&#101;&#97;&#115;&#111;&#110; &#116;&#104;&#105;&#115;
117 &#108;&#111;&#103;&#105;&#99; &#105;&#115; &#110;&#101;&#101;&#100;&#101;&#100; &#105;&#115; &#116;&#104;&#97;&#116; w&#104;&#101;&#110; &#97; .&#112;y&#99; &#102;&#105;&#108;&#101; &#105;&#115; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101;&#100;, &#116;&#104;&#101;
118 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#101;&#109;&#98;&#101;&#100;&#100;&#101;&#100; &#97;&#110;&#100; &#116;&#104;&#117;&#115; w&#104;&#97;&#116; &#105;&#115; &#114;&#101;&#97;&#100;&#97;&#98;&#108;&#101; &#105;&#110; &#116;&#104;&#101; &#99;&#111;&#100;&#101; &#111;&#98;&#106;&#101;&#99;&#116;
119 &#111;&#102; &#116;&#104;&#101; &#102;&#114;&#97;&#109;&#101; &#111;&#98;&#106;&#101;&#99;&#116; &#105;&#115; &#116;&#104;&#101; &#102;&#117;&#108;&#108;y &#113;&#117;&#97;&#108;&#105;&#102;&#105;&#101;&#100; &#102;&#105;&#108;&#101;&#112;&#97;&#116;&#104; w&#104;&#101;&#110; &#116;&#104;&#101;
120 &#112;y&#99; &#105;&#115; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101;&#100;. &#73;&#102; &#102;&#105;&#108;&#101;&#115; &#97;&#114;&#101; &#109;&#111;v&#101;&#100; &#102;&#114;&#111;&#109; &#109;&#97;&#99;&#104;&#105;&#110;&#101; &#116;&#111; &#109;&#97;&#99;&#104;&#105;&#110;&#101;
121 &#116;&#104;&#105;&#115; &#99;&#97;&#110; &#98;&#114;&#101;&#97;&#107; &#100;&#101;&#98;&#117;&#103;&#103;&#105;&#110;&#103; &#97;&#115; &#116;&#104;&#101; .&#112;y&#99; w&#105;&#108;&#108; &#114;&#101;&#102;&#101;&#114; &#116;&#111; &#116;&#104;&#101; .&#112;y
122 &#111;&#110; &#116;&#104;&#101; &#111;&#114;&#105;&#103;&#105;&#110;&#97;&#108; &#109;&#97;&#99;&#104;&#105;&#110;&#101;. &#65;&#110;&#111;&#116;&#104;&#101;&#114; &#99;&#97;&#115;&#101; &#109;&#105;&#103;&#104;&#116; &#98;&#101; &#115;&#104;&#97;&#114;&#105;&#110;&#103;
123 &#99;&#111;&#100;&#101; &#111;v&#101;&#114; &#97; &#110;&#101;&#116;w&#111;&#114;&#107;... &#84;&#104;&#105;&#115; &#108;&#111;&#103;&#105;&#99; &#100;&#101;&#97;&#108;&#115; w&#105;&#116;&#104; &#116;&#104;&#97;&#116;.
124 </p><dl>
125 <dt><i>frame</i></dt>
126 <dd>
127 &#116;&#104;&#101; &#102;&#114;&#97;&#109;&#101; &#111;&#98;&#106;&#101;&#99;&#116;
128 </dd>
129 </dl><a NAME="PyProfile.save" ID="PyProfile.save"></a>
130 <h4>PyProfile.save</h4>
131 <b>save</b>(<i></i>)
132 <p>
133 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#116;&#111;&#114;&#101; &#116;&#104;&#101; &#99;&#111;&#108;&#108;&#101;&#99;&#116;&#101;&#100; &#112;&#114;&#111;&#102;&#105;&#108;&#101; &#100;&#97;&#116;&#97;.
134 </p><a NAME="PyProfile.trace_dispatch_call" ID="PyProfile.trace_dispatch_call"></a>
135 <h4>PyProfile.trace_dispatch_call</h4>
136 <b>trace_dispatch_call</b>(<i>frame, t</i>)
137 <p>
138 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#117;&#115;&#101;&#100; &#116;&#111; &#116;&#114;&#97;&#99;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110;&#115; &#99;&#97;&#108;&#108;&#115;.
139 </p><p>
140 &#84;&#104;&#105;&#115; &#105;&#115; &#97; v&#97;&#114;&#105;&#97;&#110;&#116; &#111;&#102; &#116;&#104;&#101; &#111;&#110;&#101; &#102;&#111;&#117;&#110;&#100; &#105;&#110; &#116;&#104;&#101; &#115;&#116;&#97;&#110;&#100;&#97;&#114;&#100; &#80;y&#116;&#104;&#111;&#110;
141 &#112;&#114;&#111;&#102;&#105;&#108;&#101;.&#112;y &#99;&#97;&#108;&#108;&#105;&#110;&#103; &#102;&#105;x&#95;&#102;&#114;&#97;&#109;&#101;&#95;&#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#97;&#98;&#111;v&#101;.
142 </p>
143 <div align="right"><a href="#top">Up</a></div>
144 <hr />
145 </body></html>

eric ide

mercurial