Package com._1c.g5.v8.dt.profiling.core
Interface IProfilingResult
- All Known Implementing Classes:
ProfilingResult
public interface IProfilingResult
Contains
ILineProfilingResult
s, total durability of code execution time, UUID, date of profiling session,
profiled projects and debug targets.-
Method Summary
Modifier and TypeMethodDescriptionGets connection string for infobase that was profiled.Gets date of profiling session.Gets set with all debug targets that have at least one result associated with them.getName()
Gets result name.Gets list of EMF model objects used to create this result.Gets list of profiling results for each line.Map<BSLModuleIdInternal,
org.eclipse.core.resources.IProject> Gets profiled projects associated with this result.Gets set of all module references with at least one profiling result.getResultsForModule
(BslModuleReference reference) Gets list of profiling results for each line of specified module.Gets total durabilities grouped by debug targets.double
Gets overall time of program execution.getUuid()
Gets UUID of profiling session associated with this result.
-
Method Details
-
getPerformanceInfo
List<PerformanceInfoMain> getPerformanceInfo()Gets list of EMF model objects used to create this result.- Returns:
- List with EMF model objects. Never
null
and cannot be empty.
-
getProfilingResults
List<ILineProfilingResult> getProfilingResults()Gets list of profiling results for each line. The order ofILineProfilingResult
s in this list is guaranteed to be the same as the order of receiving them from debug server.- Returns:
- List of
ILineProfilingResult
s. Nevernull
, but can be empty.
-
getResultsForModule
Gets list of profiling results for each line of specified module.- Parameters:
reference
- Module reference to get profiling results for. Cannot benull
.- Returns:
- List of
ILineProfilingResult
s contained in specified module. Can be empty if there are no results for specified module.
-
getReferences
Set<BslModuleReference> getReferences()Gets set of all module references with at least one profiling result.- Returns:
- A set of module references. Never
null
, but can be empty (if there are no results yet).
-
getTotalDurability
double getTotalDurability()Gets overall time of program execution.- Returns:
- Overall time of program execution. Always greater of equal to 0.
-
getTotalDurabilities
Map<DebugTargetType,Double> getTotalDurabilities()Gets total durabilities grouped by debug targets.- Returns:
- Total durabilities of code execution on every debug target. Never
null
. If code was not executed on debug target, that its mapped value isnull
.
-
getUuid
UUID getUuid()Gets UUID of profiling session associated with this result.- Returns:
- UUID of profiling session. Can be
null
if not set yet.
-
getName
String getName()Gets result name.- Returns:
- Result name. Can be equal to
result.getUuid.toString()
is not set.
-
getProjects
Map<BSLModuleIdInternal,org.eclipse.core.resources.IProject> getProjects()Gets profiled projects associated with this result.- Returns:
- Profiled projects. Never
null
, but can be empty if not set yet.
-
getDateOfSession
LocalDateTime getDateOfSession()Gets date of profiling session.- Returns:
- Date of profiling session. Can be
null
if not set yet.
-
getConnectionString
String getConnectionString()Gets connection string for infobase that was profiled.- Returns:
- Connection string. Can be
null
.
-
getDebugTargets
Set<DebugTargetType> getDebugTargets()Gets set with all debug targets that have at least one result associated with them.- Returns:
- Set with debug targets. Never
null
, but can be empty.
-