scope_profiler.line_profile_cli
CLI for displaying line-profiler records persisted in HDF5 files.
Functions
| Name | Description |
|---|---|
main | Handle scope-profiler line-profile. |
print_line_profile | Print persisted line-profiler timings from one HDF5 profile. |
mainfunction#
def main(argv=None)Handle scope-profiler line-profile.
print_line_profilefunction#
def print_line_profile(file_path, ranks=None, function=None, region=None, include=None, exclude=None, stream=None, display_html=False)Print persisted line-profiler timings from one HDF5 profile.
Set display_html=True when calling from a Jupyter notebook to render
the complete output in a whitespace-preserving <pre> block. The
default remains plain text for the command-line interface.