model_analyzer/record/metrics_manager.py
def _stop_monitors(self, cpu_only=False):
        """
        Stop any metrics monitors, when we don't need
        to collect the result
        """

        # Stop DCGM Monitor only if there are GPUs available
        if not cpu_only:
            self._gpu_monitor.stop_recording_metrics()
        self._cpu_monitor.stop_recording_metrics()

        Stop any metrics monitors, when we don't need
        to collect the result
        
Stop any metrics monitors, when we don't need
to collect the result
Stop any metrics monitors when we don ' t need to collect the result
def _stop_monitors(self, cpu_only=False):
        if not cpu_only:
            self._gpu_monitor.stop_recording_metrics()
        self._cpu_monitor.stop_recording_metrics()
def _stop_monitors ( self , cpu_only = False ) : if not cpu_only : self . _gpu_monitor . stop_recording_metrics ( ) self . _cpu_monitor . stop_recording_metrics ( )
Stop any metrics monitors, when we don't need
to collect the result
Stop any metrics monitors when we don ' t need to collect the result
"""
        Stop any metrics monitors, when we don't need
        to collect the result
        """ # Stop DCGM Monitor only if there are GPUs available
self
cpu_only