OrsProfiler_1e4711ee213911e781b5448a5b5d70c0¶
This plugin serves as a profiler on specific methods and functions (including callbacks).
This can be used to explore what methods are called, or to execute specific tasks when a method gets called (break, do a print of information, log in a file, …).
After a recording is complete, the results are summarized in a table view and also in a tree view. The table view shows the summary of the methods being called, how many time they were called and the total time passed in that method. The tree view shows the progression of the methods being called and multiple information associated to that call, such as the evaluation time. Also, additional information can be taken, such as the call stack, the current state, the action name and stage, the memory difference and the callback name. This acquisition of information is easily extendable by adding classes of wrappers (subclasses of WrapperAbstract).
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved 2018. |
| date: | Apr 14 2017 13:38 |
| dragonflyVersion: | |
| 2.1.0.238 (D) | |
| UUID: | 1e4711ee213911e781b5448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsProfiler_1e4711ee213911e781b5448a5b5d70c0.OrsProfiler_1e4711ee213911e781b5448a5b5d70c0.OrsProfiler_1e4711ee213911e781b5448a5b5d70c0(varname=None, managed=True)¶ -
classmethod
OrsProfiler_openGUI()¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
addWrapper(wrapperClass, parent)¶
-
canEndProfiler()¶
-
canExportResults()¶
-
canResetProfiler()¶
-
canStartProfiler()¶
-
closable= True¶
-
closeWidget(name)¶
-
deletePlugin(aWidget=None)¶
-
endProfiler()¶
-
endRecordingWithProfiler()¶
-
getCallStackMaxLevels()¶
-
getCallStackResults()¶
-
getRecordCurrentState()¶
-
getSummaryResults()¶
-
isProfilerStarted()¶
-
keepAlive= False¶
-
multiple= False¶
-
classmethod
openGUI()¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)¶
-
removeAllWrappers()¶
-
resetProfiler()¶
-
savable= False¶
-
setCallStackMaxLevels(callStackMaxLevels)¶
-
setRecordCurrentState(value)¶
-
startProfiler()¶
-
startRecordingWithProfiler()¶
-
classmethod
topLevelMenu()¶
-
updateUI()¶
-
classmethod