Class ModuleStatistic
java.lang.Object
com._1c.g5.v8.dt.internal.profiling.ui.view.methodlist.ModuleStatistic
Object with module statistics:
- List with statistics of methods belonging to specific module
- Pure and full time of execution of module's lines
- Pure percentage of execution of module's lines with reference to overall time of work
- Server call signal
- Module name
- Module owner class.
-
Constructor Summary
ConstructorsConstructorDescriptionModuleStatistic
(String moduleName, org.eclipse.emf.ecore.EClass ownerClass) Creates new module statistics object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(ILineProfilingResult result) Adds line statistics.Gets types of debug targets that executed code from this module.Gets durabilities of this module's calls grouped by debug targets.long
Gets full durability of module's calls.Gets list with methods' statistics.Gets the name of module associated with this object.org.eclipse.emf.ecore.EClass
Gets the class of the owner of module associated with this result.Gets pure durabilities of this module's calls grouped by debug targets.long
Gets pure durability of module's calls.double
Gets pure percentage of work time.Gets pure percentages of this module's calls grouped by debug targets.Gets server call signal.
-
Constructor Details
-
ModuleStatistic
Creates new module statistics object.- Parameters:
moduleName
- The name of module to associate this object with. Cannot benull
.ownerClass
- The class of the owner of the module associated with this result. Cannot benull
.
-
-
Method Details
-
getMethodStats
Gets list with methods' statistics.- Returns:
- List with methods' statistics.
-
getPureDurability
public long getPureDurability()Gets pure durability of module's calls.- Returns:
- Pure durability of module's calls.
-
getPureDurabilities
Gets pure durabilities of this module's calls grouped by debug targets.- Returns:
- Map with pure durabilities of calls grouped by debug targets. Never
null
.
-
getDurability
public long getDurability()Gets full durability of module's calls.- Returns:
- Full durability of module's calls.
-
getDurabilities
Gets durabilities of this module's calls grouped by debug targets.- Returns:
- Map with durabilities of calls grouped by debug targets. Never
null
.
-
getPurePercentage
public double getPurePercentage()Gets pure percentage of work time.- Returns:
- Pure percentage of work time.
-
getPurePercentages
Gets pure percentages of this module's calls grouped by debug targets.- Returns:
- Map with pure percentages of calls grouped by debug targets. Never
null
.
-
getServerCallSignal
Gets server call signal.- Returns:
- Server call signal.
-
getOwnerClass
public org.eclipse.emf.ecore.EClass getOwnerClass()Gets the class of the owner of module associated with this result.- Returns:
- owner The class of the owner of module. Never
null
.
-
getModuleName
Gets the name of module associated with this object.- Returns:
- The name of module associated with this object or dummy string if module is not found.
-
getDebugTargets
Gets types of debug targets that executed code from this module.- Returns:
- Set with types of debug targets that executed code from this module. Cannot be
null
, but can be empty if no results have been added yet.
-
add
Adds line statistics. If statistics for method specified in line result already exist, adds them to existing object.- Parameters:
stats
- Line statistics to be added. Cannot benull
.
-