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 with int keys representing threads.

Each entry has another dict with str 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 end Time.

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.

Parameters:

clear (bool) – Clear the report after getting it. Default: True.

Return type:

See above, dict