ProfileEntry#
- class pyedb.workflows.utilities.siwave_log_parser.ProfileEntry#
Performance profile entry showing task timing and resource usage.
- Attributes:
- timestamp
datetime When the task completed.
- task
str Task or operation name.
- real_time
str,optional Wall clock time in human-readable format. The default is
None.- cpu_time
str,optional CPU time consumed. The default is
None.- memory
str,optional Peak memory usage. The default is
None.- extra
dictofstrtostr,optional Additional metrics (e.g., number of elements). The default is an empty dict.
- timestamp
Examples
>>> from datetime import datetime >>> profile = ProfileEntry( ... timestamp=datetime(2025, 11, 10, 9, 30, 0), ... task="Mesh Generation", ... real_time="00:05:30", ... cpu_time="00:05:25", ... memory="2.5 GB", ... extra={"Number of elements": "50000"}, ... ) >>> profile.task 'Mesh Generation'
Overview#
Import detail#
from pyedb.workflows.utilities.siwave_log_parser import ProfileEntry
Attribute detail#
- ProfileEntry.timestamp: datetime.datetime#