![]() |
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
A context responsible for outputting execution times. More...
Public Member Functions | |
| def | __init__ (self, str topic, str entry_msg, str exit_msg, bool end_new_line=True) |
| def | __enter__ (self) |
| def | __exit__ (self, exit_type, exit_value, exit_traceback) |
Public Attributes | |
| topic | |
| entry_msg | |
| exit_msg | |
| start_time | |
| end_new_line | |
A context responsible for outputting execution times.
| def logger_utilities.TimeLogger.__init__ | ( | self, | |
| str | topic, | ||
| str | entry_msg, | ||
| str | exit_msg, | ||
| bool | end_new_line = True |
||
| ) |
| def logger_utilities.TimeLogger.__enter__ | ( | self | ) |
| def logger_utilities.TimeLogger.__exit__ | ( | self, | |
| exit_type, | |||
| exit_value, | |||
| exit_traceback | |||
| ) |
| logger_utilities.TimeLogger.end_new_line |
| logger_utilities.TimeLogger.entry_msg |
| logger_utilities.TimeLogger.exit_msg |
| logger_utilities.TimeLogger.start_time |
| logger_utilities.TimeLogger.topic |