

def reset(self, frequency=None):
    self.accumulated_time = 0.0
    self.last_start_time = None
    self.sample_count = 0
    if frequency:
        self.sample_interval = (1.0 / frequency)
    elif (not hasattr(self, 'sample_interval')):
        self.sample_interval = (1.0 / 100.0)
    else:
        pass
    self.remaining_prof_time = None
    self.profile_level = 0
    self.count_calls = False
    self.gc_time_taken = 0

dataset/ETHPy150Open binhex/moviegrabber/lib/site-packages/Cheetah/Utils/statprof.py ProfileState.reset/original