rlscope.parser package

Submodules

rlscope.parser.calibration module

rlscope.parser.common module

rlscope.parser.constants module

Constants used in collected trace files.

WARNING: if you change the values of these (e.g., CATEGORY_*), future analysis and plot generation will fail…so don’t do that!

rlscope.parser.constants.CATEGORY_PYTHON

Python time.

Type

str

rlscope.parser.constants.CATEGORY_CUDA_API_CPU

CUDA API time.

Type

str

rlscope.parser.constants.CATEGORY_GPU

GPU kernel and memcpy time.

Type

str

rlscope.parser.constants.CATEGORY_SIMULATOR_CPP

Simulator native library time.

Type

str

rlscope.parser.constants.CATEGORY_TF_API

DL backend native library time.

Type

str

rlscope.parser.constants.CATEGORY_OPERATION

User annotation (i.e., rlscope.api.Profiler.operation())

Type

str

rlscope.parser.constants.CATEGORY_PROF_CUPTI

Profiling overhead: closed-source inflation within CUDA API calls (e.g., cudaLaunchKernel, cudaMemcpyAsync) when CUPTI is enabled

Type

str

rlscope.parser.constants.CATEGORY_PROF_LD_PRELOAD

Profiling overhead: overhead from intercepting CUDA API using CUPTI library.

Type

str

rlscope.parser.constants.CATEGORY_PROF_PYTHON_ANNOTATION

Profiling overhead: overhead from user-level annotations.

Type

str

rlscope.parser.constants.CATEGORY_PROF_PYTHON_INTERCEPTION

Profiling overhead: overhead from intercepting Python \(\leftrightarrow\) C library calls.

Type

str

rlscope.parser.cpu_gpu_util module

rlscope.parser.dataframe module

rlscope.parser.db module

rlscope.parser.extrapolated_training_time module

rlscope.parser.heatscale module

rlscope.parser.nvprof module

rlscope.parser.one_off_plot module

rlscope.parser.overlap_result module

rlscope.parser.plot module

rlscope.parser.plot_index module

rlscope.parser.profiling_overhead module

rlscope.parser.pyprof module

rlscope.parser.readers module

rlscope.parser.stacked_bar_plots module

rlscope.parser.stats module

rlscope.parser.tasks module

rlscope.parser.test_plot module

rlscope.parser.tfprof module

rlscope.parser.trace_events module

rlscope.parser.training_progress module

Module contents