81 <p> |
81 <p> |
82 Private method to get the value to compare on for the first column. |
82 Private method to get the value to compare on for the first column. |
83 </p> |
83 </p> |
84 <dl> |
84 <dl> |
85 |
85 |
86 <dt><i>itm</i></dt> |
86 <dt><i>itm</i> (ProfileTreeWidgetItem)</dt> |
87 <dd> |
87 <dd> |
88 item to operate on (ProfileTreeWidgetItem) |
88 item to operate on |
89 </dd> |
89 </dd> |
90 </dl> |
90 </dl> |
91 <dl> |
91 <dl> |
92 <dt>Return:</dt> |
92 <dt>Return:</dt> |
93 <dd> |
93 <dd> |
94 comparison value for the first column (integer) |
94 comparison value for the first column |
|
95 </dd> |
|
96 </dl> |
|
97 <dl> |
|
98 <dt>Return Type:</dt> |
|
99 <dd> |
|
100 int |
95 </dd> |
101 </dd> |
96 </dl> |
102 </dl> |
97 <a NAME="ProfileTreeWidgetItem.__lt__" ID="ProfileTreeWidgetItem.__lt__"></a> |
103 <a NAME="ProfileTreeWidgetItem.__lt__" ID="ProfileTreeWidgetItem.__lt__"></a> |
98 <h4>ProfileTreeWidgetItem.__lt__</h4> |
104 <h4>ProfileTreeWidgetItem.__lt__</h4> |
99 <b>__lt__</b>(<i>other</i>) |
105 <b>__lt__</b>(<i>other</i>) |
101 <p> |
107 <p> |
102 Special method to check, if the item is less than the other one. |
108 Special method to check, if the item is less than the other one. |
103 </p> |
109 </p> |
104 <dl> |
110 <dl> |
105 |
111 |
106 <dt><i>other</i></dt> |
112 <dt><i>other</i> (ProfileTreeWidgetItem)</dt> |
107 <dd> |
113 <dd> |
108 reference to item to compare against |
114 reference to item to compare against |
109 (ProfileTreeWidgetItem) |
|
110 </dd> |
115 </dd> |
111 </dl> |
116 </dl> |
112 <dl> |
117 <dl> |
113 <dt>Return:</dt> |
118 <dt>Return:</dt> |
114 <dd> |
119 <dd> |
115 true, if this item is less than other (boolean) |
120 true, if this item is less than other |
|
121 </dd> |
|
122 </dl> |
|
123 <dl> |
|
124 <dt>Return Type:</dt> |
|
125 <dd> |
|
126 bool |
116 </dd> |
127 </dd> |
117 </dl> |
128 </dl> |
118 <div align="right"><a href="#top">Up</a></div> |
129 <div align="right"><a href="#top">Up</a></div> |
119 <hr /> |
130 <hr /> |
120 <hr /> |
131 <hr /> |
214 <p> |
225 <p> |
215 Constructor |
226 Constructor |
216 </p> |
227 </p> |
217 <dl> |
228 <dl> |
218 |
229 |
219 <dt><i>parent</i></dt> |
230 <dt><i>parent</i> (QWidget)</dt> |
220 <dd> |
231 <dd> |
221 parent widget (QWidget) |
232 parent widget |
222 </dd> |
233 </dd> |
223 </dl> |
234 </dl> |
224 <a NAME="PyProfileDialog.__createResultItem" ID="PyProfileDialog.__createResultItem"></a> |
235 <a NAME="PyProfileDialog.__createResultItem" ID="PyProfileDialog.__createResultItem"></a> |
225 <h4>PyProfileDialog.__createResultItem</h4> |
236 <h4>PyProfileDialog.__createResultItem</h4> |
226 <b>__createResultItem</b>(<i>calls, totalTime, totalTimePerCall, cumulativeTime, cumulativeTimePerCall, file, line, functionName, </i>) |
237 <b>__createResultItem</b>(<i>calls, totalTime, totalTimePerCall, cumulativeTime, cumulativeTimePerCall, file, line, functionName, </i>) |
228 <p> |
239 <p> |
229 Private method to create an entry in the result list. |
240 Private method to create an entry in the result list. |
230 </p> |
241 </p> |
231 <dl> |
242 <dl> |
232 |
243 |
233 <dt><i>calls</i></dt> |
244 <dt><i>calls</i> (int)</dt> |
234 <dd> |
245 <dd> |
235 number of calls (integer) |
246 number of calls |
236 </dd> |
247 </dd> |
237 <dt><i>totalTime</i></dt> |
248 <dt><i>totalTime</i> (float)</dt> |
238 <dd> |
249 <dd> |
239 total time (double) |
250 total time |
240 </dd> |
251 </dd> |
241 <dt><i>totalTimePerCall</i></dt> |
252 <dt><i>totalTimePerCall</i> (float)</dt> |
242 <dd> |
253 <dd> |
243 total time per call (double) |
254 total time per call |
244 </dd> |
255 </dd> |
245 <dt><i>cumulativeTime</i></dt> |
256 <dt><i>cumulativeTime</i> (float)</dt> |
246 <dd> |
257 <dd> |
247 cumulative time (double) |
258 cumulative time |
248 </dd> |
259 </dd> |
249 <dt><i>cumulativeTimePerCall</i></dt> |
260 <dt><i>cumulativeTimePerCall</i> (float)</dt> |
250 <dd> |
261 <dd> |
251 cumulative time per call (double) |
262 cumulative time per call |
252 </dd> |
263 </dd> |
253 <dt><i>file</i></dt> |
264 <dt><i>file</i> (str)</dt> |
254 <dd> |
265 <dd> |
255 filename of file (string) |
266 filename of file |
256 </dd> |
267 </dd> |
257 <dt><i>line</i></dt> |
268 <dt><i>line</i> (int)</dt> |
258 <dd> |
269 <dd> |
259 linenumber (integer) |
270 linenumber |
260 </dd> |
271 </dd> |
261 <dt><i>functionName</i></dt> |
272 <dt><i>functionName</i> (str)</dt> |
262 <dd> |
273 <dd> |
263 function name (string) |
274 function name |
264 </dd> |
275 </dd> |
265 </dl> |
276 </dl> |
266 <a NAME="PyProfileDialog.__createSummaryItem" ID="PyProfileDialog.__createSummaryItem"></a> |
277 <a NAME="PyProfileDialog.__createSummaryItem" ID="PyProfileDialog.__createSummaryItem"></a> |
267 <h4>PyProfileDialog.__createSummaryItem</h4> |
278 <h4>PyProfileDialog.__createSummaryItem</h4> |
268 <b>__createSummaryItem</b>(<i>label, contents</i>) |
279 <b>__createSummaryItem</b>(<i>label, contents</i>) |
270 <p> |
281 <p> |
271 Private method to create an entry in the summary list. |
282 Private method to create an entry in the summary list. |
272 </p> |
283 </p> |
273 <dl> |
284 <dl> |
274 |
285 |
275 <dt><i>label</i></dt> |
286 <dt><i>label</i> (str)</dt> |
276 <dd> |
287 <dd> |
277 text of the first column (string) |
288 text of the first column |
278 </dd> |
289 </dd> |
279 <dt><i>contents</i></dt> |
290 <dt><i>contents</i> (str)</dt> |
280 <dd> |
291 <dd> |
281 text of the second column (string) |
292 text of the second column |
282 </dd> |
293 </dd> |
283 </dl> |
294 </dl> |
284 <a NAME="PyProfileDialog.__eraseAll" ID="PyProfileDialog.__eraseAll"></a> |
295 <a NAME="PyProfileDialog.__eraseAll" ID="PyProfileDialog.__eraseAll"></a> |
285 <h4>PyProfileDialog.__eraseAll</h4> |
296 <h4>PyProfileDialog.__eraseAll</h4> |
286 <b>__eraseAll</b>(<i></i>) |
297 <b>__eraseAll</b>(<i></i>) |
347 <p> |
358 <p> |
348 Private slot to show the context menu of the listview. |
359 Private slot to show the context menu of the listview. |
349 </p> |
360 </p> |
350 <dl> |
361 <dl> |
351 |
362 |
352 <dt><i>coord</i></dt> |
363 <dt><i>coord</i> (QPoint)</dt> |
353 <dd> |
364 <dd> |
354 the position of the mouse pointer (QPoint) |
365 the position of the mouse pointer |
355 </dd> |
366 </dd> |
356 </dl> |
367 </dl> |
357 <a NAME="PyProfileDialog.__unfinish" ID="PyProfileDialog.__unfinish"></a> |
368 <a NAME="PyProfileDialog.__unfinish" ID="PyProfileDialog.__unfinish"></a> |
358 <h4>PyProfileDialog.__unfinish</h4> |
369 <h4>PyProfileDialog.__unfinish</h4> |
359 <b>__unfinish</b>(<i></i>) |
370 <b>__unfinish</b>(<i></i>) |
382 <p> |
393 <p> |
383 Private slot called by a button of the button box clicked. |
394 Private slot called by a button of the button box clicked. |
384 </p> |
395 </p> |
385 <dl> |
396 <dl> |
386 |
397 |
387 <dt><i>button</i></dt> |
398 <dt><i>button</i> (QAbstractButton)</dt> |
388 <dd> |
399 <dd> |
389 button that was clicked (QAbstractButton) |
400 button that was clicked |
390 </dd> |
401 </dd> |
391 </dl> |
402 </dl> |
392 <a NAME="PyProfileDialog.start" ID="PyProfileDialog.start"></a> |
403 <a NAME="PyProfileDialog.start" ID="PyProfileDialog.start"></a> |
393 <h4>PyProfileDialog.start</h4> |
404 <h4>PyProfileDialog.start</h4> |
394 <b>start</b>(<i>pfn, fn=None</i>) |
405 <b>start</b>(<i>pfn, fn=None</i>) |
396 <p> |
407 <p> |
397 Public slot to start the calculation of the profile data. |
408 Public slot to start the calculation of the profile data. |
398 </p> |
409 </p> |
399 <dl> |
410 <dl> |
400 |
411 |
401 <dt><i>pfn</i></dt> |
412 <dt><i>pfn</i> (str)</dt> |
402 <dd> |
413 <dd> |
403 basename of the profiling file (string) |
414 basename of the profiling file |
404 </dd> |
415 </dd> |
405 <dt><i>fn</i></dt> |
416 <dt><i>fn</i> (str)</dt> |
406 <dd> |
417 <dd> |
407 file to display the profiling data for (string) |
418 file to display the profiling data for |
408 </dd> |
419 </dd> |
409 </dl> |
420 </dl> |
410 <div align="right"><a href="#top">Up</a></div> |
421 <div align="right"><a href="#top">Up</a></div> |
411 <hr /> |
422 <hr /> |
412 </body></html> |
423 </body></html> |