reprospect.tools.nsys.session module
- class reprospect.tools.nsys.session.Command(*, executable: str | Path, output: Path, opts: tuple[str, ...] = (), nvtx_capture: str | None = None, capture_range_end: str = 'stop', args: tuple[str | Path, ...] | None = None, env: Mapping[str, str] | None = None)View on GitHub
Bases:
objectRun a
nsyscommand line.- __init__(*, executable: str | Path, output: Path, opts: tuple[str, ...] = (), nvtx_capture: str | None = None, capture_range_end: str = 'stop', args: tuple[str | Path, ...] | None = None, env: Mapping[str, str] | None = None) None
Method generated by attrs for class Command.
- run(*, cwd: Path | None = None, env: MutableMapping[str, str] | None = None) intView on GitHub
- class reprospect.tools.nsys.session.Session(command: Command)View on GitHub
Bases:
objectNsight Systems session interface.
- export_to_sqlite(cwd: Path | None = None) PathView on GitHub
Export report to
.sqlite.
- extract_statistical_report(report: str = 'cuda_api_sum', filter_nvtx: str | None = None, cwd: Path | None = None) DataFrameView on GitHub
Extract report, filtering the database with filter_nvtx.
- run(cwd: Path | None = None, env: MutableMapping[str, str] | None = None) NoneView on GitHub
Run
nsysusingcommand.