ProfileStepSummary#

class ansys.aedt.core.modules.profile.ProfileStepSummary(props: dict)#

Summary information for a single profile step.

This light-weight container extracts a small set of common metrics (CPU time, real time, memory) from a properties dictionary.

Parameters:
propsdict
Properties dictionary as parsed from the solver profile.

Examples

>>> from ansys.aedt.core.modules.profile import ProfileStepSummary
>>> obj = ProfileStepSummary({"Name": "Pass 1", "Cpu time": "00:00:05"})
>>> obj.cpu_time
datetime.timedelta(seconds=5)

Attributes

ProfileStepSummary.public_dir

Shortcut for dir(self).