pyarts3.arts.globals.time_report
- globals.time_report(clear: bool = True) dict[int, dict[str, list[tuple[datetime.datetime, datetime.datetime]]]]
Get the time report.
The time report is a
dict
withint
keys representing threads.Each entry has another
dict
withstr
key representing the short-name of the C++ method that was timed.As a thread can call a method multiple times, these results are stored as a
list
of a start and an endTime
.Note
This function is only available if ARTS is compiled with profiling enabled.
Also be aware that the minimum time is in native time units, which depends on the platform.