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:

Dragonfly Team

contact:

https://dragonfly.comet.tech

email:

support.dragonfly@comet.tech

organization:

Comet Technologies Canada Inc.

address:

460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7

copyright:

Comet Technologies Canada Inc. All rights reserved 2023.

date:

Apr 14 2017 13:38

dragonflyVersion:

2.1.0.238 (D)

UUID:

1e4711ee213911e781b5448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsProfiler_1e4711ee213911e781b5448a5b5d70c0.OrsProfiler_1e4711ee213911e781b5448a5b5d70c0.OrsProfiler_1e4711ee213911e781b5448a5b5d70c0(*args, **kwargs)
cleanup()

Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.

classmethod getMainFormClass()

Gets the class of the main form

Returns:

output

classmethod startupDefault(openMainForm=True)

Creates an instance of the plugin class and opens the main form (if required) at the default position.

Returns:

output (AbstractPlugin) – plugin instance