def __init__(self, recorder): """ Initialize the monitoring class. Parameters ---------- recorder : object A subclass of :class:`~pikos.recorders.AbstractRecorder` or a class that implements the same interface to handle the values to be logged. """ self._recorder = recorder self._profiler = ProfileFunctionManager() self._index = 0 self._call_tracker = KeepTrack()
def __init__(self): self._profile = ProfileFunctionManager()