Skip to content
Projects

scope_profiler.line_profile_cli

CLI for displaying line-profiler records persisted in HDF5 files.

Functions

NameDescription
mainHandle scope-profiler line-profile.
print_line_profilePrint 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.