Skip to content

Profiling

MSPModuleStats

Profiling of the pipeline

FrequencyStats

Implementation of FrequencyStats

MovingAverageStats

Implementation of MovingAverageStats see https://en.wikipedia.org/wiki/Moving_average

__init__(self) special

Initialize the Profiling of the pipeline

Source code in multisensor_pipeline/modules/base/profiling.py
def __init__(self):
    """
        Initialize the Profiling of the pipeline
    """
    self._start_time = datetime.now()
    self._stop_time = None

    self._in_stats = {}
    self._out_stats = {}
    self._queue_size = self.MovingAverageStats()
    self._skipped_frames = self.MovingAverageStats()