a
    þdð  ã                   @   s$   d Z ddlmZ G dd„ deƒZdS )z<Profiler to check if there are any bottlenecks in your code.é    )ÚProfilerc                   @   s0   e Zd ZdZeddœdd„Zeddœdd„ZdS )ÚPassThroughProfilerz‚This class should be used when you don't want the (small) overhead of profiling.

    The Trainer uses this class by default.
    N)Úaction_nameÚreturnc                 C   s   d S ©N© ©Úselfr   r   r   úi/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/pytorch_lightning/profilers/base.pyÚstart   s    zPassThroughProfiler.startc                 C   s   d S r   r   r   r   r   r
   Ústop   s    zPassThroughProfiler.stop)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústrr   r   r   r   r   r
   r      s   r   N)r   Z$pytorch_lightning.profilers.profilerr   r   r   r   r   r
   Ú<module>   s   