def METHOD_NAME(self, name):
    """
    Calculates the FPS based on specified name
    Args:
        name (str): Specifies timestamps' name
    Returns:
        float: Calculated FPS or :code:`0.0` (default in case of failure)
    """
    if name in self._ticks and len(self._ticks[name]) > 1:
        timeDiff = self._ticks[name][-1] - self._ticks[name][0]
        return (len(self._ticks[name]) - 1) / timeDiff if timeDiff != 0 else 0.0
    else:
        return 0.0